stat reports inconsistent zxids across servers after a leader change
--------------------------------------------------------------------
Key: ZOOKEEPER-1372
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1372
Project: ZooKeeper
Issue Type: Bug
Components: quorum
Affects Versions: 3.4.2
Reporter: Patrick Hunt
I started a 2 server ensemble, made some changes to znodes, then shutdown the
cluster.
I then removed the datadir from the original leader.
I then restarted the entire ensemble.
after this the new leader has a zxid of 0x400000000 while the follower reported
a zxid of 0x300000007 (the last zxid of the old epoch). This was via stat.
I then connected a client to the ensemble, subsequent to which the zxid was
again in sync. The data all seemed fine, but stat was reporting invalid
information until a client connected.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira