Flavio Paiva Junqueira commented on ZOOKEEPER-684:

The race we observe in the log attached should only happen if the socket times 
out after 200ms in LeaderElection.java. In regular runs, I wouldn't expect it 
to time out, but on a very slow machine it could happen. If we start observing 
it often, we might consider increasing the socket time out value to avoid false 

For now, my recommendation is that we don't fix it.

> Race in LENonTerminateTest
> --------------------------
>                 Key: ZOOKEEPER-684
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-684
>             Project: Zookeeper
>          Issue Type: Bug
>            Reporter: Flavio Paiva Junqueira
>             Fix For: 3.3.0
>         Attachments: zookeeper-684-test-failure.rtf
> testNonTermination failed during a Hudson run for ZOOKEEPER-59. After 
> inspecting the output, it looks like server is electing 2 as a leader and 
> leaving. Given that 2 is just a mock server, server 0 remains alone in leader 
> election.

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