[ https://issues.apache.org/jira/browse/ZOOKEEPER-1498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13541515#comment-13541515 ]
Edward Ribeiro commented on ZOOKEEPER-1498: ------------------------------------------- Hi Camille, Isn't this issue a duplicate of ZOOKEEPER-1324 ? PS: I liked your description, it's very good. > 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 For more information on JIRA, see: http://www.atlassian.com/software/jira