ctdb-daemon: Factor out new function ctdb_node_become_inactive()
authorMartin Schwenke <martin@meltin.net>
Mon, 19 Aug 2019 11:47:03 +0000 (21:47 +1000)
committerAmitay Isaacs <amitay@samba.org>
Tue, 20 Aug 2019 07:15:41 +0000 (07:15 +0000)
commita42bcaabb63722411bee52b80cbfc795593defbc
treee5d981c9e7970954c6b85b66ec23b7b3f9593520
parentf8e79be2c155f26abfa7e5e3fddd2f453c2f943a
ctdb-daemon: Factor out new function ctdb_node_become_inactive()

This is a superset of ctdb_local_node_got_banned() so will replace
that function, and will also be used in the NODE_STOP control.

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

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