Skip to content

Commit

Permalink
Log skipped prevoting as INFO (elastic#108411)
Browse files Browse the repository at this point in the history
Relates ES-6576
  • Loading branch information
pxsalehi authored May 10, 2024
1 parent 0eae056 commit 2541ce9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1781,7 +1781,7 @@ public void run() {
final var nodeEligibility = localNodeMayWinElection(lastAcceptedState, electionStrategy);
if (nodeEligibility.mayWin() == false) {
assert nodeEligibility.reason().isEmpty() == false;
logger.trace(
logger.info(
"skip prevoting as local node may not win election ({}): {}",
nodeEligibility.reason(),
lastAcceptedState.coordinationMetadata()
Expand Down

0 comments on commit 2541ce9

Please sign in to comment.