ctdb-recoverd: Send leader broadcasts
commit5c7f6da0f0e6c92ae4cd338b92f475bb4a8e2cc9
authorMartin Schwenke <martin@meltin.net>
Mon, 16 Mar 2020 05:16:44 +0000 (16 16:16 +1100)
committerMartin Schwenke <martins@samba.org>
Mon, 17 Jan 2022 10:21:32 +0000 (17 10:21 +0000)
tree64a4f9dcb80776a608b2c4a8b1826afd0dad7f94
parent789a75abfa2af0af39616c69575882e5db2b6f07
ctdb-recoverd: Send leader broadcasts

These are triggered on 1 second timer, but are only sent if the node
is the current leader and there is no election underway.

If this node can not be the leader then ensure it releases the
recovery lock.

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