Flavio Paiva Junqueira updated ZOOKEEPER-599:

    Attachment: ZOOKEEPER-599.patch

This patch fixes the issue with observers and FastLeaderElection. It does 
mainly three things:

# It makes some modifications to FLE to support the OBSERVING state and to 
return responses to observers;
# It removes checks for electionAlg=0 when observers are being used;
# It modifies tests to use observers with FLE. In fact, I have changed 
QuorumBase to use FLE, which is something we have been talking about doing for 
a while. Most tests are now using FLE.

All tests pass for me. 

> Changes to FLE and QuorumCnxManager to support Observers
> --------------------------------------------------------
>                 Key: ZOOKEEPER-599
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-599
>             Project: Zookeeper
>          Issue Type: Improvement
>            Reporter: Flavio Paiva Junqueira
>            Assignee: Flavio Paiva Junqueira
>             Fix For: 3.3.0
>         Attachments: ZOOKEEPER-599.patch, ZOOKEEPER-599.patch
> Observers currently can only use electionAlg 0, which is not the default, 
> supported leader implementation. This issue will fix it.

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