ctdb-recovery: Refactor banning a node into separate computation
authorAmitay Isaacs <amitay@gmail.com>
Mon, 2 Mar 2020 05:16:26 +0000 (16:16 +1100)
committerMartin Schwenke <martins@samba.org>
Mon, 23 Mar 2020 23:45:37 +0000 (23:45 +0000)
commit1c56d6413f86cc15ebac232f39ef1e2a53ae4297
tree700656c456585a97579bec5c283ee0b242f1f198
parentc6a0ff1bed0265e44fd6135d16bfc41919fe5bf5
ctdb-recovery: Refactor banning a node into separate computation

If a node is marked for banning, confirm that it's not become inactive
during the recovery.  If yes, then don't ban the node.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14294

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/server/ctdb_recovery_helper.c