Skip to content

Add INFO log messages tracking validator timeouts - #5155

Merged
marta-lokhova merged 1 commit into
stellar:masterfrom
bboston7:log-timeouts
Mar 4, 2026
Merged

marta-lokhova merged 1 commit into
stellar:masterfrom
bboston7:log-timeouts

Conversation

@bboston7

Copy link
Copy Markdown
Contributor

Resolves #4994

This change adds an INFO log line upon externalization summarizing timeouts during nomination (if any occurred).

Copilot AI review requested due to automatic review settings February 25, 2026 17:49

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds observability for SCP nomination timeouts by surfacing nomination round leaders in logs, helping operators correlate slow nomination with specific validators/leaders.

Changes:

  • Add SCP::getNominationLeaders(slotIndex) to expose nomination leaders for a slot.
  • Log an INFO message on externalization summarizing nomination timeout count and (current) leaders.
  • Wire Herder SCP execution metrics to query and print nomination leaders when timeouts occurred.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/scp/SCP.h Adds public API for retrieving nomination leaders by slot.
src/scp/SCP.cpp Implements nomination leader lookup via slot state.
src/herder/HerderSCPDriver.cpp Emits INFO log on externalization when nomination timeouts occurred, including leader list.

Comment thread src/herder/HerderSCPDriver.cpp Resolved
Resolves stellar#4994

This change adds an INFO log line upon externalization summarizing
timeouts during nomination (if any occurred).
@marta-lokhova
marta-lokhova added this pull request to the merge queue Mar 4, 2026
Merged via the queue into stellar:master with commit 124e0ff Mar 4, 2026
53 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add INFO level log message tracking validator nomination timeouts

3 participants