TyqITstudent commented on issue #688: reduce session revalidation time after 
zxid roll over
URL: https://github.com/apache/zookeeper/pull/688#issuecomment-473632260
 
 
   1.   Your description is correct. Every half tickTime, Leader will send ping 
packet to Followers,
   and followers will send sessions stored in touchTable.
   2.   Yes, your comprehension is correct. Every half tickTime, all sessions 
in Follower touchTable will be sent to Leader to revalidate. If the sessions 
which need to be revalidated now are not expired after half tickTime, we can 
send them to Leader with ping packets. You get my idea.
   3.   Perhaps your idea is much better. But we hope we can revalidate 
sessions as quickly as possible. For example, if the revalidate request is sent 
at timeA; at timeA+6s,it is revalidated by Leader. Perhaps it is expired at 
that time.
   
   

----------------------------------------------------------------
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

Reply via email to