Benjamin Reed updated ZOOKEEPER-136:

    Attachment: ZOOKEEPER-136.patch

This patch includes the tests that Pat wrote and the fix for the problem.

The fix involves three things:

1) The leader creates a FollowerSyncRequest that contains a reference to the 
FollowerHandler doing the sync. This allows us to get rid of the handler 

2) The pendingSyncs uses a List to track multiple syncs per change

3) CommitRequest processor was changed to take a boolean to flag whether to 
wait for syncs to come from the leader.

> sync causes hang in all followers of quorum
> -------------------------------------------
>                 Key: ZOOKEEPER-136
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-136
>             Project: Zookeeper
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Patrick Hunt
>            Assignee: Benjamin Reed
>             Fix For: 3.0.0
>         Attachments: ZOOKEEPER-136.patch
> The attached test causes all of the followers of a quorum to hang. Leader 
> continues to function correctly.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

Reply via email to