Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
2.7.1
-
None
-
None
Description
Since the LOST connection state doesn't have anything to do with the loss of the ZK session, it would be very useful to have an event for it.
Suggested implementation to detect the loss of session:
- Upon reception of the SUSPENDED state, start a timer
- if we receive a RECONNECTED event, check the session ID. If we have a different session ID, then our session has been lost
- if we didn't receive a RECONNECTED event and the time reaches <sessionTimeoutMs>, our session is lost
That should inform the user of the loss of a session in a timely fashion.
Attachments
Issue Links
- is superceded by
-
CURATOR-246 Parent task for adding a SESSION_LOST connection state, etc.
- Closed