ctdb-recovery: Refactor banning a node into separate computation
commitb7f7f7b63e608a0215ad3cc8fc576cbab68d3bb0
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 08:06:12 +0000 (30 08:06 +0000)
tree7254efeacc44417bac66e432cabc96f963bc4b4e
parentf468f65407812acc08fa9c1e1cce7f51e9459f19
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