Details
Description
Create a circuit breaker style ConnectionStateListener. It would proxy any ConnectionStateListeners used by Curator recipe/classes such that when the connection is lost the circuit would open for a period of time and, while open, ignore any changes in state. After the time period expires the circuit would close and send whatever the current connection state is. This way, if the connection is going up/down/up/down/up/down, the application would only see the first down and then N ms later hopefully the connection is repaired and the application would only see the reconnection.
Attachments
Issue Links
- is superceded by
-
CURATOR-533 Improve CURATOR-505 by making the CircuitBreaker instance shared
- Resolved
- relates to
-
CURATOR-504 Race conditions in LeaderLatch after reconnecting to ensemble
- Resolved
-
CURATOR-644 CLONE - Race conditions in LeaderLatch after reconnecting to ensemble
- Closed
- links to