Enable commit tokens to be processed properly in all circumstances.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1255 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
Steven Dake 2006-10-09 07:41:46 +00:00
parent da09c38827
commit 0032c765bc

View File

@ -3941,9 +3941,9 @@ static int message_handler_memb_commit_token (
break;
case MEMB_STATE_COMMIT:
if (memcmp (&memb_commit_token->ring_id, &instance->my_ring_id,
sizeof (struct memb_ring_id)) == 0) {
// if (memb_commit_token->ring_id.seq == instance->my_ring_id.seq) {
// if (memcmp (&memb_commit_token->ring_id, &instance->my_ring_id,
// sizeof (struct memb_ring_id)) == 0) {
if (memb_commit_token->ring_id.seq == instance->my_ring_id.seq) {
memb_state_recovery_enter (instance, memb_commit_token);
}
break;