Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper, mail # dev - question about getChildren and queue recipe


Copy link to this message
-
Re: question about getChildren and queue recipe
Flavio Junqueira 2012-09-04, 22:11

On Sep 4, 2012, at 3:10 AM, Alexander Shraer wrote:

> Hi,
>
> I have 2 questions:
> - why was it decided not to guarantee any order on the list returned from
> getChildren, given that many use-cases require looking on the child with
> the smallest id ?
> Why not just keep this list in a sorted form on the server ?
There is some discussion about this here:

https://issues.apache.org/jira/browse/ZOOKEEPER-44

-Flavio