-
Notifications
You must be signed in to change notification settings - Fork 25.3k
Make GoogleCloudStorageRetryingInputStream request same generation on resume #127626
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
Merged
nicktindall
merged 29 commits into
elastic:main
from
nicktindall:ES-11432_check_generation_on_resume
May 22, 2025
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
6238090
Specify generation on resume
nicktindall e94b246
Add test for contents changed on resume
nicktindall bcab09b
Update docs/changelog/127626.yaml
nicktindall 98a80c3
Assert we get a generation header
nicktindall 08e1b95
Delete docs/changelog/127626.yaml
nicktindall 09c6e6e
Add random path when present, don't assert generation header is present
nicktindall 576109c
Update test/fixtures/gcs-fixture/src/main/java/fixture/gcs/MockGcsBlo…
nicktindall 4feb87d
Update test/fixtures/gcs-fixture/src/main/java/fixture/gcs/MockGcsBlo…
nicktindall 0886ba7
Reduce indenting
nicktindall cdfffa5
Assert that x-goog-generation is present
nicktindall d3c0e6a
Assert that x-goog-generation is present
nicktindall f3371e4
Log a warning if we see a missing or malformed generation header
nicktindall 89b926a
Merge branch 'main' into ES-11432_check_generation_on_resume
nicktindall fca2161
Add x-goog-generation header to test
nicktindall 2d2960c
Randomise x-goog-generation
nicktindall ce03dae
Tidy, improve naming
nicktindall eebcb0c
Test in third-party test
nicktindall 4fd9b81
Merge branch 'main' into ES-11432_check_generation_on_resume
nicktindall a8826fb
Clean proxied repo after test
nicktindall aeea9f6
Try SO_REUSEADDR to allow restarting proxy
nicktindall 03a9b8d
Make httpServer field volatile for thread-safe restarts
nicktindall 289a594
Merge branch 'main' into ES-11432_check_generation_on_resume
nicktindall a60d7e0
Include repoName in base_path
nicktindall b0f9298
Add logging in proxy
nicktindall caaf45c
Don't use proxy to test resume
nicktindall b800710
Merge remote-tracking branch 'origin/main' into ES-11432_check_genera…
nicktindall 0f8796b
Don't use proxy to test resume
nicktindall 16d6c39
Merge remote-tracking branch 'origin/ES-11432_check_generation_on_res…
nicktindall a70e2ad
Don't use proxy to test resume
nicktindall File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 wonder whether rebinding to the same address can be flaky sometimes. We can have it as is for now and see how it goes.
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 it should be OK as long as we have
SO_REUSEADDR
set? It seemed to work locally so perhaps that's the default?