ctdb-recovery: Refactor banning a node into separate computation
commit436a746ed1ac1269348066800e54511d08b0df9e
authorAmitay Isaacs <amitay@gmail.com>
Mon, 2 Mar 2020 05:16:26 +0000 (2 16:16 +1100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 30 Mar 2020 10:08:25 +0000 (30 10:08 +0000)
tree6dc65f70c071ec228afdc3848fb92c6245620bc7
parent3640f428b133d2fe25a153607c842e473add19c8
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>
(cherry picked from commit 1c56d6413f86cc15ebac232f39ef1e2a53ae4297)
ctdb/server/ctdb_recovery_helper.c