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
Improve s3 backup store client reliability #10603
Conversation
45789b1
to
0284d98
Compare
@@ -19,6 +20,8 @@ | |||
* try to discover an appropriate value from the environment. | |||
* @param credentials If no value is provided, the AWS SDK will try to discover appropriate values | |||
* from the environment. | |||
* @param apiCallTimeout Used as the overall api call timeout for the AWS SDK. API calls that exceed |
Check notice
Code scanning / CodeQL
Spurious Javadoc @param tags
0284d98
to
f7bc1cf
Compare
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.
Thanks. Looks good to me.
❌ Please document the new parameter in config templates in dist/config
@@ -17,6 +18,7 @@ public class S3BackupStoreConfig implements ConfigurationEntry { | |||
private String region; | |||
private String accessKey; | |||
private String secretKey; | |||
private Duration apiCallTimeout; |
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 suggest to provide a default value.
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've set it to 180 seconds. If we assume that the largest file of a backup is a 128MiB segment this requires less than 1MiB/s throughput which should be reasonable.
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.
🎉
bors merge |
10593: deps(maven): bump proto-google-common-protos from 2.9.3 to 2.9.6 r=oleschoenburg a=dependabot[bot] Bumps [proto-google-common-protos](https://github.com/googleapis/java-iam) from 2.9.3 to 2.9.6. <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/googleapis/java-iam/commits">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.api.grpc:proto-google-common-protos&package-manager=maven&previous-version=2.9.3&new-version=2.9.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting ``@dependabot` rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - ``@dependabot` rebase` will rebase this PR - ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it - ``@dependabot` merge` will merge this PR after your CI passes on it - ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it - ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging - ``@dependabot` reopen` will reopen this PR if it is closed - ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - ``@dependabot` ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> 10603: Improve s3 backup store client reliability r=oleschoenburg a=oleschoenburg This adds the ability to set an overall api call timeout which appears to be the only thing that fixes #10547. Additionally, some other configuration for the client is updated to smooth out load spikes when taking backups and to automatically adjust various other parameters based on the detected environment. Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ole Schönburg <ole.schoenburg@gmail.com>
Build failed (retrying...): |
10603: Improve s3 backup store client reliability r=oleschoenburg a=oleschoenburg This adds the ability to set an overall api call timeout which appears to be the only thing that fixes #10547. Additionally, some other configuration for the client is updated to smooth out load spikes when taking backups and to automatically adjust various other parameters based on the detected environment. Co-authored-by: Ole Schönburg <ole.schoenburg@gmail.com>
Build failed: |
bors retry |
10603: Improve s3 backup store client reliability r=oleschoenburg a=oleschoenburg This adds the ability to set an overall api call timeout which appears to be the only thing that fixes #10547. Additionally, some other configuration for the client is updated to smooth out load spikes when taking backups and to automatically adjust various other parameters based on the detected environment. Co-authored-by: Ole Schönburg <ole.schoenburg@gmail.com>
Build failed: |
bors retry |
10603: Improve s3 backup store client reliability r=oleschoenburg a=oleschoenburg This adds the ability to set an overall api call timeout which appears to be the only thing that fixes #10547. Additionally, some other configuration for the client is updated to smooth out load spikes when taking backups and to automatically adjust various other parameters based on the detected environment. Co-authored-by: Ole Schönburg <ole.schoenburg@gmail.com>
Build failed: |
bors retry |
10603: Improve s3 backup store client reliability r=oleschoenburg a=oleschoenburg This adds the ability to set an overall api call timeout which appears to be the only thing that fixes #10547. Additionally, some other configuration for the client is updated to smooth out load spikes when taking backups and to automatically adjust various other parameters based on the detected environment. Co-authored-by: Ole Schönburg <ole.schoenburg@gmail.com>
Build failed: |
bors merge |
Build succeeded: |
Successfully created backport PR #10619 for |
This adds the ability to set an overall api call timeout which appears to be the only thing that fixes #10547. Additionally, some other configuration for the client is updated to smooth out load spikes when taking backups and to automatically adjust various other parameters based on the detected environment.