[PATCH] Untangle CTDB monitoring from inactive node states, recovery, shutdown
Martin Schwenke
martin at meltin.net
Wed Sep 13 01:50:24 UTC 2017
Currently the stop control, database recovery and shutdown sequence all
control the monitoring mode. The monitoring code already knows about
recovery.
Instead, have the monitoring code check that the node is in a suitable
state for monitoring (i.e. running, active). This means that the code
that changes the monitoring mode can be removed. Then monitoring mode
and supporting code can also be removed.
Now we have 500 fewer lines of code to maintain! :-)
Please remove and maybe push...
peace & happiness,
martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ctdb.patch
Type: text/x-patch
Size: 40495 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170913/4dc12557/ctdb.bin>
More information about the samba-technical
mailing list