Skip to content
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

Track rollbacks #61

Open
wolf31o2 opened this issue Jun 21, 2024 · 0 comments
Open

Track rollbacks #61

wolf31o2 opened this issue Jun 21, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@wolf31o2
Copy link
Member

Track the rollback state. On initial start, we shouldn't emit a log or metric for a rollback. Otherwise, the rollback state will effect logging and metrics.

  • Track if we're starting up and "do nothing" (no logs/metrics) on the initial start/rollback
  • When a rollback happens, set state to show we're migrating to a fork
  • On the next roll forward, we should emit a log that we've switched to the new fork
  • Increment Fork metric (cardano_node_metrics_forks_int)

This behavior should try to mimic the Haskell node's logging and metrics.

@wolf31o2 wolf31o2 added the enhancement New feature or request label Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant