dasahcc opened a new issue #691: Handle participant states based on session 
expiry events 
URL: https://github.com/apache/helix/issues/691
 
 
   Copied from Imran email :
   
   I have a helix cluster setup with a resource in MASTER-SLAVE configuration 
with 3 replicas. We are testing what happens when a client temporarily looses 
network connectivity to the ZK cluster. The observations are:
   1. The client continues to think it is MASTER (DISCONNECT event is triggered 
in the background and reconnecting messages are seen)
   2. The controller makes another node MASTER
   3. Once the client is able to reconnect a session expired is triggered, and 
reset is called on the MASTER-SLAVE, moving the partitions to OFFLINE state.
   
   I would like the node to stop serving requests as MASTER as soon as client 
detects that session expiration timeout has passed even though the session may 
not be expired. Curator framework injects a session timeout event based on 
percent of the negotiated timeout, and I was hoping that in Helix something 
similar could be configured. Otherwise there is a state where multiple nodes 
think they are masters.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to