You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by 蔡观洋 caiguanyang <ca...@cattsoft.com> on 2014/08/22 04:20:35 UTC
znode status
Hi,
the status of znode contains:
// information shared with the client
class Stat {
long czxid; // created zxid
long mzxid; // last modified zxid
long ctime; // created
long mtime; // last modified
int version; // version
int cversion; // child version
int aversion; // acl version
long ephemeralOwner; // owner id if ephemeral, 0 otw
int dataLength; //length of the data in the node
int numChildren; //number of children of this node
long pzxid; // last modified children
}
so what's the function of field "pzxid" and "cversion"?
Thanks!