zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Reed (JIRA)" <j...@apache.org>
Subject [jira] Updated: (ZOOKEEPER-136) sync causes hang in all followers of quorum
Date Tue, 09 Sep 2008 05:03:44 GMT

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

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

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.

View raw message