Skip to content

Commit

Permalink
enterElection reason message tidy up. (#1677)
Browse files Browse the repository at this point in the history
  • Loading branch information
WorkingChen authored Oct 31, 2024
1 parent 35cda53 commit 9872158
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2010,7 +2010,8 @@ else if (RecordingSignalEventDecoder.TEMPLATE_ID == templateId)

if (null == election && ConsensusModule.State.ACTIVE == state)
{
enterElection(logAdapter.isLogEndOfStreamAt(position), "log recording stopped");
final boolean isEos = logAdapter.isLogEndOfStreamAt(position);
enterElection(isEos, "log recording stopped: eos=" + isEos);
return workCount;
}
}
Expand Down

0 comments on commit 9872158

Please sign in to comment.