[PATCH] ctdb-recoverd: Call an election when the recovery lock is lost

Martin Schwenke martin at meltin.net
Mon Dec 17 09:47:53 UTC 2018


The lock may have been lost due to a failure in the underlying locking
mechanism.  This could be due to quorum loss or similar.  It is best
to call an election to confirm that this node should still be master.
At worst, the node will reelect itself, fail to take the lock and then
ban itself.  This is a suitable outcome for a node that has been
partitioned from others in the cluster.

This is related to bug 13672 but isn't really a fix for that bug, so
we're just planning to push it to master for the upcoming 4.10 release.

Please review and maybe push...

peace & happiness,
martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ctdb.patch
Type: text/x-patch
Size: 1861 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20181217/5ecf1ad2/ctdb.bin>


More information about the samba-technical mailing list