mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-07-16 09:54:03 +00:00
SYNCV2: add debug when messages are discarded
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2993 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
2b4d150f81
commit
b10fb56e8e
@ -231,6 +231,7 @@ static void sync_barrier_handler (unsigned int nodeid, const void *msg)
|
||||
if (memcmp (&my_ring_id, &req_exec_barrier_message->ring_id,
|
||||
sizeof (struct memb_ring_id)) != 0) {
|
||||
|
||||
log_printf (LOGSYS_LEVEL_DEBUG, "barrier for old ring - discarding\n");
|
||||
return;
|
||||
}
|
||||
for (i = 0; i < my_processor_list_entries; i++) {
|
||||
@ -296,6 +297,7 @@ static void sync_memb_determine (unsigned int nodeid, const void *msg)
|
||||
if (memcmp (&req_exec_memb_determine_message->ring_id,
|
||||
&my_memb_determine_ring_id, sizeof (struct memb_ring_id)) != 0) {
|
||||
|
||||
log_printf (LOGSYS_LEVEL_DEBUG, "memb determine for old ring - discarding\n");
|
||||
return;
|
||||
}
|
||||
|
||||
@ -321,7 +323,7 @@ static void sync_service_build_handler (unsigned int nodeid, const void *msg)
|
||||
|
||||
if (memcmp (&my_ring_id, &req_exec_service_build_message->ring_id,
|
||||
sizeof (struct memb_ring_id)) != 0) {
|
||||
|
||||
log_printf (LOGSYS_LEVEL_DEBUG, "service build for old ring - discarding\n");
|
||||
return;
|
||||
}
|
||||
for (i = 0; i < req_exec_service_build_message->service_list_entries; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user