ctdb-daemon: Simplify ctdb_control_modflags()
commitae10a8a4b70e53ea3be6257d1f86f2d9a56aa62a
authorMartin Schwenke <martin@meltin.net>
Thu, 8 Jul 2021 01:11:11 +0000 (8 11:11 +1000)
committerAmitay Isaacs <amitay@samba.org>
Thu, 9 Sep 2021 01:46:49 +0000 (9 01:46 +0000)
treece4c9bf95d59e87cf998a3c6527bca1ba7469d38
parent916c5ee131dc5c7f1d9c3540147d1f915c8302ad
ctdb-daemon: Simplify ctdb_control_modflags()

Now that there are separate disable/enable controls used by the ctdb
tool this control can ignore any flag updates for the current nodes.
These only come from the recovery master, which depends on being able
to fetch flags for all nodes.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14784
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/server/ctdb_monitor.c