Github user yunfan123 commented on the issue:

    https://github.com/apache/zookeeper/pull/262
  
    Hi, @asdf2014 
    In most cases, I don't think the epoch can overflow 16-bit.
    In general, zookeeper leader election is very rare, and it may take several 
seconds even several minutes to finish leader election.
    And zookeeper is totally unavailable during leader election.
    If the zookeeper that you use can overflow 16-bits, it turns out the 
zookeeper you used is totally unreliable.
    Finally, compatible with old version is really important.
    If not compatible with old versions, I must restart all my zookeeper nodes. 
    All of nodes need reload snapshot and log from disk, it will cost a lot of 
time.
    I believe this upgrade process is unacceptable by most zookeeper users.



---
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.
---

Reply via email to