[
https://issues.apache.org/jira/browse/ZOOKEEPER-2807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16278048#comment-16278048
]
ASF GitHub Bot commented on ZOOKEEPER-2807:
-------------------------------------------
Github user anmolnar commented on the issue:
https://github.com/apache/zookeeper/pull/300
@afine You're right. I missed that syncWithLeader() call is on the same
path and in the same thread as adding commits to the queue.
In which case this must be right:
- syncWithLeader() blocks the follower,
- Leader sends commits for the sync process,
- Leader sends UPTODATE at the very end,
- Follower drains the commit queue
- Follower starts following.
> Flaky test:
> org.apache.zookeeper.test.WatchEventWhenAutoResetTest.testNodeDataChanged
> -------------------------------------------------------------------------------------
>
> Key: ZOOKEEPER-2807
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2807
> Project: ZooKeeper
> Issue Type: Bug
> Reporter: Abraham Fine
> Assignee: Abraham Fine
>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)