[PATCH] Untangle CTDB monitoring from inactive node states, recovery, shutdown

Amitay Isaacs amitay at gmail.com
Wed Sep 13 05:09:53 UTC 2017


On Wed, Sep 13, 2017 at 11:50 AM, Martin Schwenke via samba-technical <
samba-technical at lists.samba.org> wrote:

> 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...
>
>
Reviewed and pushed along with other ctdb patches.

Amitay.


More information about the samba-technical mailing list