Flavio Paiva Junqueira updated ZOOKEEPER-108:

    Attachment: ZOOKEEPER-108-TEST.patch

Adding test for sync call. This test currently only checks the implementation 
of a standalone zookeeper. If I get a +1 on this test, then I can work on 
adding a second test that performs the same sequence of operations, but for a 
quorum configuration instead.  

> sync implementation reorders operations
> ---------------------------------------
>                 Key: ZOOKEEPER-108
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-108
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: server
>            Reporter: Flavio Paiva Junqueira
>            Assignee: Flavio Paiva Junqueira
>             Fix For: 3.0.0
>         Attachments: SyncTest.java, ZOOKEEPER-108-TEST.patch, 
> ZOOKEEPER-108.patch
> The current implementation of sync is broken. There is a race condition that 
> causes a follower to return operations out of order, causing clients to drop 
> their connections to a server.
> I'll be attaching a patch to fix this problem shortly.

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