ZooKeeper
  1. ZooKeeper
  2. ZOOKEEPER-1022

let the children under a ZNode in order.

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: server
    • Labels:
      None

      Description

      let the children under a ZNode in order. and user can specify a comparator for each parent ZNode.
      some time we only need get some children, not all, like getting first children.
      and some application can leverage the order, like in HBase, the meta table can put into ZK.

        Issue Links

          Activity

          Hide
          jiangwen wei added a comment -

          if the children is in order, the meta data of HBase can be stored in ZooKeeper

          Show
          jiangwen wei added a comment - if the children is in order, the meta data of HBase can be stored in ZooKeeper
          Hide
          MIS added a comment -

          It is not the functionality of the ZooKeeper to order the children as per the business logic of the application using it.
          Further, I think we should not burden the Zookeeper to do things which hold little relevance to the core functionality of the ZooKeeper.
          The use-case for which this issue has been raised can be achieved by having the required logic at the application side and not at the zookeeper side.

          -1 from my side for this issue.

          Show
          MIS added a comment - It is not the functionality of the ZooKeeper to order the children as per the business logic of the application using it. Further, I think we should not burden the Zookeeper to do things which hold little relevance to the core functionality of the ZooKeeper. The use-case for which this issue has been raised can be achieved by having the required logic at the application side and not at the zookeeper side. -1 from my side for this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              jiangwen wei
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Development