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: [email protected] With regards, Apache Git Services
