Github user maoling commented on the issue:
https://github.com/apache/zookeeper/pull/262
Hi, @asdf2014 .Thanks for your explanation! But I still have some
confusions about the question one:
look at code like this :
```
int epoch = (int)Long.rotateRight(zxid, 32);// >> 32;
long count = zxid & 0xffffffffffL;
```
it all depends on that **zxid** can not be altered(no write operation when
**zxid** has generated at the first time) in the multithread
situation,otherwise epoch and count isn't idempotent.should **zxid** be
decorated by **final**?
---
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 [email protected] or file a JIRA ticket
with INFRA.
---