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

adaptive timeout for VP check if there is a progress #3

Open
mkaczanowski opened this issue Oct 24, 2024 · 0 comments
Open

adaptive timeout for VP check if there is a progress #3

mkaczanowski opened this issue Oct 24, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@mkaczanowski
Copy link
Contributor

TL;DR

Blazar VP post check waits X seconds (timeout) for the consensus. If after X seconds there is no 2/3+1, blazar fails postcheck.

We know that upgrades can last a very long time, so a better approach IMHO is to dynamically extend the timeout when there is a progress.
For instance, say the timeout is 10 minutes:

  1. post check starts
  2. after 5 minutes post check detects VP increase
  3. the post check timeout resets
  4. another increase happens
  5. post check timeout resets
  6. finalize
    a) post check timeouts after 10 minutes after last reset if there is no consensus
    b) post check completes when there is consensus, this could be after 15 minutes
@mkaczanowski mkaczanowski added the enhancement New feature or request label Oct 24, 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