mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
bdd7baeab3
There are two types of CPG communications in a corosync cluster: messages and state transitions. Cmirrord processes the state transitions first. When a cluster mirror issues a POSTSUSPEND, it signals the end of cluster communication with the rest of the nodes in the cluster. The POSTSUSPEND marks the last communication of the 'message' type that will go around the cluster. The node then calls cpg_leave which causes a final 'state transition' communication to all of the nodes. Once the out-going node receives its own state transition notice from the cluster, it finalizes the leave. At this point, the state of the log is 'INVALID'; but it is possible that there remains some cluster trafic that was queued up behind the state transition that still wants to be processed. It is harmless to attempt to dispatch any remaining messages - they won't be delivered because the node is no longer in the cluster. However, there was a warning message that was being printed in this case that is now removed by this patch. The failure of the dispatch created a false positive condition that triggered the message. |
||
---|---|---|
.. | ||
clogd.c | ||
cluster.c | ||
cluster.h | ||
common.h | ||
compat.c | ||
compat.h | ||
functions.c | ||
functions.h | ||
link_mon.c | ||
link_mon.h | ||
local.c | ||
local.h | ||
logging.c | ||
logging.h | ||
Makefile.in |