Github user phunt commented on the issue:
https://github.com/apache/zookeeper/pull/262
Are you seeing this behavior with ZOOKEEPER-1277 applied? If so it's a bug
in that change, because after that's applied the leader should shutdown as we
approach the rollover.
It would be nice to address this by changing the zxid semantics, but I
don't believe that's a great idea. Instead I would rather see us address any
shortcoming in my original fix (1277)
fwiw - what I have seen people do in this situation is to monitor the zxid
and when it gets close (say within 10%) of the rollover they have an automated
script which restarts the leader, which forces a re-election. However 1277
should be doing this for you.
Given you are seeing this issue perhaps you can help with resolving any
bugs in 1277? thanks!
---