mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-07-24 08:05:05 +00:00
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:
parent
da09c38827
commit
0032c765bc
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user