Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.5.0
Description
Given the following conditions:
1.) No connection is available to ZK
2.) A LeaderLatch is created and started
3.) All retries for the leader latch creating its ephemeral zNode have been exhausted.
At this point the LeaderLatch will not begin functioning correctly when a connection is established. This is due to it ignoring 'CONNECTED' connection state events (it only handles RECONNECTED events).
The fix should simply be a case of making the state handling for CONNECTED and RECONNECTED the same.