-
Notifications
You must be signed in to change notification settings - Fork 152
Replace readiness probe with startup for autopilot #3856
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
Conversation
|
LGTM, I think it's exactly as discussed. Approved, just pls add a PR description. 🤠 |
dc878bb to
93786e0
Compare
|
I have done some test deployments on sepolia and here are my findings: Tests done on sepolia-staging
10 auctions average auction-to-auction: 12s Which shows that the fix is working as expected. |
jmg-duarte
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reads much better, some nits
|
Updates PR based on comments, will re-test on staging to sign off. |
This reverts commit 0235ec9.
Co-authored-by: José Duarte <[email protected]>
Co-authored-by: José Duarte <[email protected]>
Co-authored-by: José Duarte <[email protected]>
Co-authored-by: José Duarte <[email protected]>
eabe512 to
b5d1ea4
Compare
squadgazzz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG, only nits.
Co-authored-by: ilya <[email protected]>
|
Latest timings Looks like the latest revision is also working as expected. Merging the PR. |
Description
The zero downtime deployment for autopilot requires the newly created one to warm up its caches before the previous one can step down and leadership be transferred. Previous implementation reported readiness after taking over and the readiness probe was not used, making this mechanism fail to work.
Changes
Remove the usage of readiness probe in autopilot. Introduce startup probe. Signal startup finished once caches become warmed up, regardless of leader lock status.
How to test