mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-07-23 06:36:15 +00:00
Fix an off by one error causing a bad event ID to be sent after
a recovery in some cases. (Logical change 1.155) git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@542 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
81b83714ec
commit
00fc37a307
@ -3524,7 +3524,7 @@ static int evt_remote_chan_op(void *msg, struct in_addr source_addr,
|
||||
my_addr.s_addr,
|
||||
base_id);
|
||||
if (cpkt->u.chc_set_id.chc_addr.s_addr == my_addr.s_addr) {
|
||||
if (cpkt->u.chc_set_id.chc_last_id > base_id) {
|
||||
if (cpkt->u.chc_set_id.chc_last_id >= base_id) {
|
||||
log_printf(RECOVERY_DEBUG,
|
||||
"Set event ID from %s to %llx\n",
|
||||
inet_ntoa(source_addr), cpkt->u.chc_set_id.chc_last_id);
|
||||
|
Loading…
Reference in New Issue
Block a user