-
Notifications
You must be signed in to change notification settings - Fork 510
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
ondemand_download_large_rel: solve flakyness #3697
Conversation
Not sure if this should actually fix this, since here it looks like the basebackup downloaded all of the layers, even if they were compacted? https://neon-github-public-dev.s3.amazonaws.com/reports/pr-3696/debug/4252834876/index.html#suites/b97efae3a617afb71cb8142f5afa5224/2486b335203eff3a/ Could it be that we cannot say that there's certainly some shuffling after this test workload where starting up the compute will require less than full amount of layers to be downloaded? |
Nevermind, probably misread that log, there's of course the initial size calculation which we are racing against as well, so earlier question rephrased: Are we correct in expecting that there is a compaction result which will allow us to have less downloaded by basebackup or basebackup+initial_size_calculation than the query? Also, wondering if the compaction upload could go over timeout with real_s3, it will be racing against 10s termination timeout -- not the 20s Just hit the 10s timeout on #3696: https://neon-github-public-dev.s3.amazonaws.com/reports/pr-3696/release/4253557268/index.html#suites/b97efae3a617afb71cb8142f5afa5224/d1c6ca3a23b97680/ |
f53bc6f
to
9a65051
Compare
Rebased... |
This comment was marked as off-topic.
This comment was marked as off-topic.
I should probably try the |
This probably needs some feedback and ideas per my above comments. |
9a65051
to
8c81443
Compare
Let's downscope the general failure to await for uploads in case we still have pending gc/compact out of this PR, rebased, should be good now. |
992 tests run: 946 passed, 0 failed, 46 skipped (full report)The comment gets automatically updated with the latest test results
c7c5f81 at 2023-05-17T13:20:22.957Z :recycle: |
a64a4fb
to
821014a
Compare
this might cover the last of flakyness. Co-authored-by: Christian Schwarz <[email protected]>
821014a
to
c7c5f81
Compare
Disable background tasks to not get compaction downloading all layers but also stop safekeepers before checkpointing, use a readonly endpoint.
Fixes: #3666