Henry Robinson updated ZOOKEEPER-609:

    Attachment: ZOOKEEPER-609.patch

Found an issue: notification of an event is done before the event is saved, so 
there's a possibility that the main thread will get woken up and see the old 
event rather than the new one. This patch fixes.

I can't reproduce the issue on either of my test machines, so we will have to 
rely on Hudson.

> ObserverTest failure "zk should not be connected expected not same"
> -------------------------------------------------------------------
>                 Key: ZOOKEEPER-609
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-609
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: quorum, server
>    Affects Versions: 3.3.0
>            Reporter: Patrick Hunt
>            Assignee: Henry Robinson
>            Priority: Blocker
>             Fix For: 3.3.0
>         Attachments: 
> TEST-org.apache.zookeeper.server.quorum.ObserverTest.xml, ZOOKEEPER-609.patch
> ObserverTest failed running on 8core
> I ran the test as:
> ant -Dtest.junit.output.format=xml -Dtest.output -Dtestcase=AsyncHammerTest 
> clean test-core-java &> test.out

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