-
Notifications
You must be signed in to change notification settings - Fork 456
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
Harden retries on tenant/timeline deletion path. #4973
Conversation
Originated from test failure where we hot SlowDown error from s3. The patch generalizes `download_retry` to not be download specific. Resulting `retry` function is moved to utils crate. `download_retries` is now a thin wrapper around this `retry` function. To ensure that all needed retries are in place test code now uses `test_remote_failures=1` setting.
1588 tests run: 1511 passed, 0 failed, 77 skipped (full report)Flaky tests (3)Postgres 15The comment gets automatically updated with the latest test results
c25a737 at 2023-08-14T14:05:47.294Z :recycle: |
This PR isn't adding it but I'm curious: why do we have our own retry code instead of using a |
Hm, thats a good question. We wernt using aws sdk in the beginning, it is fairly new. Before that we used Probably a good idea to consider switching. Also not sure if aws sdk works for other s3 vendors. |
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.
I think the tests should be split but we can merge this regardless.
This. Also, by doing the retries ourselves, we have more control. IIRC we print a warning after some number of retries, for example. |
Originated from test failure where we hot SlowDown error from s3.
The patch generalizes
download_retry
to not be download specific.Resulting
retry
function is moved to utils crate.download_retries
is now a thin wrapper around this
retry
function.To ensure that all needed retries are in place test code now uses
test_remote_failures=1
setting.Ref https://neondb.slack.com/archives/C059ZC138NR/p1691743624353009