[PATCH] Start cleaning up CTDB election code

Martin Schwenke martin at meltin.net
Fri Nov 13 05:29:35 UTC 2015


This patch set cleans up the CTDB election code in 2 ways:

* Have the recovery daemon remember which node is the recovery master
  instead of pulling it from the daemon.  The recovery daemons take
  part in the elections so know who is the master.  This is still
  pushed to the daemons for now... just never read back by recovery
  daemon.

* Factor out recovery master validation into a single function.  Now
  all the checking that each recovery daemon does to validate the
  master is in one function.

Please review and push.

peace & happiness,
martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ctdb.patches
Type: application/octet-stream
Size: 30058 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20151113/e8cf2340/ctdb.obj>


More information about the samba-technical mailing list