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

improve unhealthy status management #1208

Open
srene opened this issue Nov 8, 2024 · 2 comments
Open

improve unhealthy status management #1208

srene opened this issue Nov 8, 2024 · 2 comments
Assignees

Comments

@srene
Copy link
Contributor

srene commented Nov 8, 2024

right now unhealthy status is set by sending an unhealthy event. this is an issue in case we want to automatically recover from unhealthy status and it is required to refactor the logic to allow that.

@omritoptix
Copy link
Contributor

omritoptix commented Nov 16, 2024

also adding, separating freezing and unhealthy as currently they are coupled. we need to map the various areas we currently freeze/emit unhealthy and according to that decide what each flow does

@mtsitrin
Copy link
Contributor

AFAIU, the freeze state is for unrecoverable errors
It should happen on

  • validation errors
  • errors in block manager loops (production/syncing)
  • role switch (proposer -> FN, FN->Proposer)

what use cases of recoverable unhealthy cases do we have?

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

No branches or pull requests

4 participants