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

Martin Schwenke martin at meltin.net
Thu Jan 5 05:20:41 UTC 2017


On Thu, 5 Jan 2017 14:43:49 +1100, Martin Schwenke <martin at meltin.net>
wrote:

> 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...

Using Amitay's alternative patch.

peace & happiness,
martin



More information about the samba-technical mailing list