zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [zookeeper] asdf2014 commented on issue #262: ZOOKEEPER-2789: Reassign `ZXID` for solving 32bit overflow problem
Date Thu, 07 Mar 2019 01:54:27 GMT
asdf2014 commented on issue #262: ZOOKEEPER-2789: Reassign `ZXID` for solving 32bit overflow
problem
URL: https://github.com/apache/zookeeper/pull/262#issuecomment-470351352
 
 
   Hi, @maoling. Thank you for your comments.  As you said, if we cannot carry the version
of server, it will be too difficult to maintain backward compatibility. The reversion in Etcd
is to implement the MVCC feature, which seems to be equivalent to the Zookeeper counter, not
the entire ZXID. If we consider that design, then maybe we should use more 64bits, convert
ZXID from `epoch(32bits)+counter(32bits)` to `epoch(64bits)+main_counter(32bits)+sub_counter(32bits)`.
What do you think?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message