kezhuw commented on PR #478:
URL: https://github.com/apache/curator/pull/478#issuecomment-1725540750

   > what should we do before ZOOKEEPRER-4743 check in, just wait 
ZOOKEEPER-4743 to be ready or other ways?
   
   I suggest we use `Stat.mzxid` to guard ordering in `updateValue`. (I posted 
in another thread https://github.com/apache/curator/pull/478/files#r1327946265).
   
   The current approach does not sound correct to 
me(https://github.com/apache/curator/pull/478/files#r1313839760). And I think 
it is error-prone.
   
   When `Stat.version` is `-1`, exception is enough for us to go. 
ZOOKEEPRER-4743 is another story, Curator should work irrespective of ZooKeeper 
version.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to