Patrick Hunt reassigned ZOOKEEPER-44:

    Assignee: Benjamin Reed

+1, sounds like a great addition to a FAQ.

Assigning to Ben to remove the sort and document appropriately.

> DataTree does not use natural sort for getChildren
> --------------------------------------------------
>                 Key: ZOOKEEPER-44
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-44
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: server
>    Affects Versions: 3.0.0
>            Reporter: Stu Hood
>            Assignee: Benjamin Reed
>            Priority: Minor
> DataTree.getChildren() performs Collection.sort() on the list of children 
> before returning it, but Java's default comparator for Strings will sort 
> 'lock-20' before 'lock-3' for instance. 

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

Reply via email to