jira-importer commented on issue #578:
URL: https://github.com/apache/curator/issues/578#issuecomment-2604699544

   <i><a 
href="https://issues.apache.org/jira/secure/ViewProfile.jspa?name=benjamin.jaton";>benjamin.jaton</a>:</i>
   <p>I think we could use ZooKeeper's transaction IDs:<br/>
   "Every change to the ZooKeeper state receives a stamp in the form of a zxid 
(ZooKeeper Transaction Id). This exposes the total ordering of all changes to 
ZooKeeper. Each change will have a unique zxid and if zxid1 is smaller than 
zxid2 then zxid1 happened before zxid2."</p>
   
   <p>In the case of an event, we could use the czxid in the Stat object to 
have the order of creation of the children:<br/>
   "czxid: The zxid of the change that caused this znode to be created."</p>
   
   <p>Source:<br/>
   <a 
href="http://zookeeper.apache.org/doc/r3.4.5/zookeeperProgrammers.html#sc_zkStatStructure";
 class="external-link" target="_blank" rel="nofollow 
noopener">http://zookeeper.apache.org/doc/r3.4.5/zookeeperProgrammers.html#sc_zkStatStructure</a></p>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@curator.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to