Description
Leader selection fails when connection is lost but restored before session timed out.
TC:
- the client looses connection to the zookeeper server
- the client looses leadership
- the client reconnects to the zookeeper server using the same session
- the leader node wasn't deleted because the connection was not available on deleteOurPath() call, and because the client had reconnected to the same session, so the ephemeral node wasn't deleted by zookeeper
- the client creates the new node
- no one is the leader because the old leader node stays forever.
Attachments
Issue Links
- fixes
-
CURATOR-205 Repeated InterruptedExceptions during mutex acquire leads to LeaderSelector deadlock
- Closed