Skip to content

Commit

Permalink
Update server/src/main/java/org/elasticsearch/cluster/coordination/st…
Browse files Browse the repository at this point in the history
…ateless/AtomicRegisterPreVoteCollector.java

Co-authored-by: David Turner <david.turner@elastic.co>
  • Loading branch information
pxsalehi and DaveCTurner authored Mar 12, 2024
1 parent f39edde commit 0558ecd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public Releasable start(ClusterState clusterState, Iterable<DiscoveryNode> broad
if (shouldRun.getAndSet(false)) {
startElection.run();
}
}, heartbeat -> logger.info("skipping election since there is a recent heartbeat({}) from the leader", heartbeat));
}, heartbeat -> logger.info("skipping election since there is a recent heartbeat[{}] from the leader", heartbeat));

return () -> shouldRun.set(false);
}
Expand Down

0 comments on commit 0558ecd

Please sign in to comment.