Skip to content

Add periodic trace of GSM state #1530

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
nfrisby opened this issue May 28, 2025 · 0 comments
Open

Add periodic trace of GSM state #1530

nfrisby opened this issue May 28, 2025 · 0 comments
Labels
Genesis PRs related to Genesis testing and implementation good first issue Good for newcomers

Comments

@nfrisby
Copy link
Contributor

nfrisby commented May 28, 2025

@karknu found a misbehavior with a small docker-compose testnet, and asked Consensus to dig in. If the node had been reporting its GSM state with some frequency automatically, then it would have taken us 5 minutes to create our feedback instead of a few hours (since we struggled to understand the docker-compose configuration mechanisms).

This Issue is to add two tracers to the GSM:

  • trace the initial GSM state on start up
  • every 10s or so, trace the current GSM state

These seem small enough to be in the node enabled by default --- at least in ConsensusNode: GenesisMode.

@nfrisby nfrisby added good first issue Good for newcomers Genesis PRs related to Genesis testing and implementation labels May 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Genesis PRs related to Genesis testing and implementation good first issue Good for newcomers
Projects
Status: No status
Development

No branches or pull requests

1 participant