ctdb-tools: Use disable and enable controls in tool
commit5914054698dab934fd4db5efb9d211b2fdc40bb9
authorMartin Schwenke <martin@meltin.net>
Fri, 9 Jul 2021 04:37:19 +0000 (9 14:37 +1000)
committerAmitay Isaacs <amitay@samba.org>
Thu, 9 Sep 2021 01:46:49 +0000 (9 01:46 +0000)
treecbfbd2c2bd397bac9c71416ccac6dce3cfcb7095
parent6fe6a54e7f32e650be6ab36041159081dbde5165
ctdb-tools: Use disable and enable controls in tool

Note that there a change from broadcast to a directed control here.
This is OK because the recovery master will push flags if any nodes
disagree with the canonical flags fetched from a node.

Static function ctdb_ctrl_modflags() is no longer used to drop it.

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/tools/ctdb.c