1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 03:27:58 +03:00
lvm2/daemons/cmirrord
Jonathan Brassow bdd7baeab3 cmirrord: Clean-up stray warning message (attempt #2)
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.
2014-03-19 14:43:00 -05:00
..
clogd.c clogd: fix descriptor leak when daemonzing 2013-08-06 16:21:51 +02:00
cluster.c cmirrord: Clean-up stray warning message (attempt #2) 2014-03-19 14:43:00 -05:00
cluster.h Deal with a few more compiler warnings. 2010-01-20 02:43:19 +00:00
common.h Clean up include files. 2010-01-18 21:07:24 +00:00
compat.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
compat.h Clean up include files. 2010-01-18 21:07:24 +00:00
functions.c cleanup: replace memset with struct initilization 2012-06-22 13:23:03 +02:00
functions.h Clean up include files. 2010-01-18 21:07:24 +00:00
link_mon.c Remove some whitespaces. 2012-03-10 09:32:46 +00:00
link_mon.h Clean up include files. 2010-01-18 21:07:24 +00:00
local.c cmirrord: add missing checks for kernel_send 2012-06-20 14:48:26 +02:00
local.h Clean up include files. 2010-01-18 21:07:24 +00:00
logging.c Clean up include files. 2010-01-18 21:07:24 +00:00
logging.h Misc: Get rid of some compiler warnings. 2014-01-07 19:37:07 -06:00
Makefile.in compile/link: use RELRO/PIE compiler/linker options for executables 2013-12-05 14:03:10 +01:00