[PATCH] ctdb-tests: Do not attempt to unregister the join handler multiple times

Martin Schwenke martin at meltin.net
Thu Jan 5 03:43:49 UTC 2017


MSG_ID_SYNC is broadcast to each node when a MSG_ID_JOIN has been
received from all nodes.  After MSG_ID_SYNC is successfully broadcast,
the join handler is unregistered.  However, if another MSG_ID_JOIN is
received before the join handler is unregistered then MSG_ID_SYNC is
re-broadcast.  This results in multiple attempts to unregister the
join handler.  Subsequent attempts will fail, so this causes cluster
wait to fail.

There are several ways to avoid this.  The simplest is to ensure that
MSG_ID_SYNC is only sent once.

Please review and maybe push...

peace & happiness,
martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ctdb-tests-Do-not-attempt-to-unregister-the-join-han.patch
Type: text/x-patch
Size: 2059 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170105/dfca4ec2/0001-ctdb-tests-Do-not-attempt-to-unregister-the-join-han.bin>


More information about the samba-technical mailing list