ZooKeeper
  1. ZooKeeper
  2. ZOOKEEPER-555

Add stat information to GetChildrenResponse

    Details

    • Hadoop Flags:
      Incompatible change, Reviewed
    • Release Note:
      Hide
      This change is backward incompatible with server versions prior to 3.3.0 given that the wire protocol has changed. However at the client API level this is a b/w compatible change (added new api methods).

      Changes required to have Stat returned with get_children().
      Show
      This change is backward incompatible with server versions prior to 3.3.0 given that the wire protocol has changed. However at the client API level this is a b/w compatible change (added new api methods). Changes required to have Stat returned with get_children().

      Description

      GetChildren() is the only non-create/delete API which does not include the node stat information. I propose that the definition of GetChildren() should be:

      class GetChildrenResponse

      { vector<ustring> children; org.apache.zookeeper.data.Stat stat; }

      There is a trivial fix to the server (FinalRequestProcessor.java): rsp = new GetChildrenResponse(children, stat);

      And something similar to the client library.

      1. getchildren_stat.patch
        11 kB
        Árni Már Jónsson
      2. ZOOKEEPER-555.patch
        70 kB
        Patrick Hunt
      3. ZOOKEEPER-555.patch
        65 kB
        Patrick Hunt
      4. ZOOKEEPER-555.patch
        66 kB
        Árni Már Jónsson

        Issue Links

          Activity

          Árni Már Jónsson created issue -
          Árni Már Jónsson made changes -
          Field Original Value New Value
          Status Open [ 1 ] Patch Available [ 10002 ]
          Release Note Changes required to have Stat returned with get_children().
          Affects Version/s 3.3.0 [ 12313976 ]
          Fix Version/s 3.3.0 [ 12313976 ]
          Árni Már Jónsson made changes -
          Attachment getchildren_stat.patch [ 12422239 ]
          Patrick Hunt made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Assignee Árni Már Jónsson [ arnimarj ]
          Árni Már Jónsson made changes -
          Attachment ZOOKEEPER-555.patch [ 12422675 ]
          Árni Már Jónsson made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Hadoop Flags [Incompatible change]
          Patrick Hunt made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Patrick Hunt made changes -
          Attachment ZOOKEEPER-555.patch [ 12422748 ]
          Patrick Hunt made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Patrick Hunt made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Patrick Hunt made changes -
          Attachment ZOOKEEPER-555.patch [ 12422753 ]
          Patrick Hunt made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Patrick Hunt made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Patrick Hunt made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Mahadev konar made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags [Reviewed]
          Resolution Fixed [ 1 ]
          Patrick Hunt made changes -
          Link This issue is related to ZOOKEEPER-567 [ ZOOKEEPER-567 ]
          Patrick Hunt made changes -
          Hadoop Flags [Reviewed] [Incompatible change, Reviewed]
          Release Note Changes required to have Stat returned with get_children(). This change is backward incompatible with server versions prior to 3.3.0 given that the wire protocol has changed. However at the client API level this is a b/w compatible change (added new api methods).

          Changes required to have Stat returned with get_children().
          Patrick Hunt made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Árni Már Jónsson
              Reporter:
              Árni Már Jónsson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development