defect 837

Muni reported the token retransmission timer doesn't need to be reset when 
receiving a retransmission


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@805 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
Steven Dake 2005-08-25 22:10:26 +00:00
parent 478307dfed
commit 81b2984094

View File

@ -2665,7 +2665,13 @@ if (random () % 100 < 10) {
* Discard retransmitted tokens
*/
if (instance->my_token_seq >= token->token_seq) {
reset_token_retransmit_timeout (instance);
/*
* If this processor receives a retransmitted token, it is sure
* the previous processor is still alive. As a result, it can
* reset its token timeout. If some processor previous to that
* has failed, it will eventually not execute a reset of the
* token timeout, and will cause a reconfiguration to occur.
*/
reset_token_timeout (instance);
return (0); /* discard token */
}