You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Patrick Hunt (JIRA)" <ji...@apache.org> on 2008/09/05 20:36:45 UTC

[jira] Updated: (ZOOKEEPER-136) sync causes hang in all followers of quorum

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

Patrick Hunt updated ZOOKEEPER-136:
-----------------------------------

    Attachment: testfails_ZOOKEEPER-136.patch

The TestSync test fails on my ubuntu 1core laptop.

the test basically:

starts a 5 server quroum

starts a client against each server (so 5 clients)

each client does the following (async ops) on a node it owns:
1) create node
2) sync node
3) setdata node
4) sync node
5) delete node
6) sync node
7) wait for all results of ops 1-6 to complete

each client does this 100 times in a loop then exits

I am seeing that in most cases the client attached to the leader runs to 
completion successfully.

However the clients attached to the followers stall out (eventually TIMEOUT) waiting for the 1) operation to return. 

> 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: Patrick Hunt
>             Fix For: 3.0.0
>
>         Attachments: testfails_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.