Skip to content

Conversation

StephenButtolph
Copy link
Contributor

Why this should be merged

Currently it is hard to understand why errProposerWindowNotStarted is being reported. This should improve monitoring.

This also aligns the usage of errProposerWindowNotStarted -> pre-durango and errUnexpectedProposer -> post-durango.

How this works

fmt.Errorf

How this was tested

  • CI

@StephenButtolph StephenButtolph added the monitoring This primarily focuses on logs, metrics, and/or tracing label Jan 22, 2024
@StephenButtolph StephenButtolph added this to the v1.10.19 milestone Jan 22, 2024
@StephenButtolph StephenButtolph self-assigned this Jan 22, 2024
// attempt to re-handle that once it is our turn to build the block.
p.vm.notifyInnerBlockReady()
return false, errProposerWindowNotStarted
return false, fmt.Errorf("%w: slot %d expects %s", errUnexpectedProposer, currentSlot, expectedProposerID)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

note the change from errProposerWindowNotStarted to errUnexpectedProposer.

@StephenButtolph StephenButtolph added this pull request to the merge queue Jan 22, 2024
Merged via the queue into master with commit 7a309bc Jan 22, 2024
@StephenButtolph StephenButtolph deleted the improve-proposervm-delay-logging branch January 22, 2024 22:21
chand1012 pushed a commit to multisig-labs/avalanchego that referenced this pull request Oct 1, 2024
Co-authored-by: Patrick O'Grady <prohb125@gmail.com>
chand1012 pushed a commit to multisig-labs/avalanchego that referenced this pull request Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
monitoring This primarily focuses on logs, metrics, and/or tracing
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants