Patrick Hunt updated ZOOKEEPER-555:

    Release Note: 
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().

  was:Changes required to have Stat returned with get_children().

    Hadoop Flags: [Incompatible change, Reviewed]  (was: [Reviewed])

> Add stat information to GetChildrenResponse
> -------------------------------------------
>                 Key: ZOOKEEPER-555
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-555
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: c client, contrib-bindings, java client, server
>    Affects Versions: 3.3.0
>            Reporter: Árni Már Jónsson
>            Assignee: Árni Már Jónsson
>            Priority: Minor
>             Fix For: 3.3.0
>         Attachments: getchildren_stat.patch, ZOOKEEPER-555.patch, 
> ZOOKEEPER-555.patch, ZOOKEEPER-555.patch
> 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.

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