ctdb-recoverd: Push flags for a node if any remote node disagrees
authorMartin Schwenke <martin@meltin.net>
Sun, 11 Jul 2021 12:17:08 +0000 (22:17 +1000)
committerAmitay Isaacs <amitay@samba.org>
Thu, 9 Sep 2021 01:46:49 +0000 (01:46 +0000)
commit8305f6a7f132f03b0bbdb26692b7491fd3f6c24f
tree390d258fb8c4cb7653c3780510c5122b78c26c4d
parent620d07871420cdbfa055c1ace75ec1ac4c32721d
ctdb-recoverd: Push flags for a node if any remote node disagrees

This will usually happen if flags on the node in question change, so
keeping the code simple and pushing to all nodes won't hurt.  When all
nodes come up there might be differences in connected nodes, causing
such "fix ups".  Receiving nodes will ignore no-op pushes.

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_recoverd.c