This is currently missed when the cluster lock is lost.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14958
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
}
rec->election_in_progress = true;
+ /* Let other nodes know that an election is underway */
+ leader_broadcast_send(rec, CTDB_UNKNOWN_PNN);
if (cluster_lock_enabled(rec)) {
cluster_lock_election(rec);
rec->leader_broadcast_timeout_te = NULL;
- /* Let other nodes know that an election is underway */
- leader_broadcast_send(rec, CTDB_UNKNOWN_PNN);
-
D_NOTICE("Leader broadcast timeout. Force election\n");
force_election(rec);
}