You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Camille Fournier (JIRA)" <ji...@apache.org> on 2012/07/03 23:26:35 UTC

[jira] [Created] (ZOOKEEPER-1498) Zab1.0 sends NEWLEADER packet twice

Camille Fournier created ZOOKEEPER-1498:
-------------------------------------------

             Summary: Zab1.0 sends NEWLEADER packet twice
                 Key: ZOOKEEPER-1498
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1498
             Project: ZooKeeper
          Issue Type: Bug
          Components: server
    Affects Versions: 3.4.3, 3.5.0
            Reporter: Camille Fournier
            Priority: Minor


In pre-Zab1.0, we would process the NEWLEADER packet in registerWithLeader. Now we only process it in syncWithLeader, and in certain circumstances (the first follower of a new leader) it seems like we get 2 of them, which causes 2 snapshots to be taken one right after another. Not sure whether we should ignore taking the snapshot the second time, or not send two packets, or what. 

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