zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asdf2014 <...@git.apache.org>
Subject [GitHub] zookeeper issue #262: ZOOKEEPER-2789: Reassign `ZXID` for solving 32bit over...
Date Tue, 23 May 2017 03:00:53 GMT
Github user asdf2014 commented on the issue:

    https://github.com/apache/zookeeper/pull/262
  
    Thinking about some abnormal situations, maybe 24 bit for `epoch` and 40 bit for `counter`
is more better choice: $Math.min(2^{24} / (24 * 365), 2^{40} / (86400 * 1000 * 365)) \approx
Math.min(1915.2, 34.9) = 34.9$


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message