-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Remote Store] Rate limiter for low priority uploads #14374
Conversation
server/src/main/java/org/opensearch/repositories/blobstore/BlobStoreRepository.java
Outdated
Show resolved
Hide resolved
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.
LGTM
❕ Gradle check result for 913b742: UNSTABLE Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #14374 +/- ##
============================================
+ Coverage 71.42% 71.76% +0.34%
- Complexity 59978 62114 +2136
============================================
Files 4985 5118 +133
Lines 282275 291845 +9570
Branches 40946 42189 +1243
============================================
+ Hits 201603 209451 +7848
- Misses 63999 65094 +1095
- Partials 16673 17300 +627 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Gaurav Bafna <gbbafna@amazon.com>
Signed-off-by: Gaurav Bafna <gbbafna@amazon.com>
server/src/main/java/org/opensearch/repositories/blobstore/BlobStoreRepository.java
Show resolved
Hide resolved
server/src/main/java/org/opensearch/repositories/Repository.java
Outdated
Show resolved
Hide resolved
.../internalClusterTest/java/org/opensearch/action/admin/indices/create/RemoteCloneIndexIT.java
Show resolved
Hide resolved
Signed-off-by: Gaurav Bafna <gbbafna@amazon.com>
❕ Gradle check result for aebb7c6: UNSTABLE
Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
--------- Signed-off-by: Gaurav Bafna <gbbafna@amazon.com> (cherry picked from commit e22b651) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
--------- Signed-off-by: Gaurav Bafna <gbbafna@amazon.com> (cherry picked from commit e22b651) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…ect#14374) --------- Signed-off-by: Gaurav Bafna <gbbafna@amazon.com>
…ect#14374) (opensearch-project#14421) --------- Signed-off-by: Gaurav Bafna <gbbafna@amazon.com> (cherry picked from commit e22b651) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Signed-off-by: kkewwei <kkewwei@163.com>
…ect#14374) --------- Signed-off-by: Gaurav Bafna <gbbafna@amazon.com>
Description
We have rate limiter for remote uploads . However we don't have a way to control the low priority upload . In absence of this, our rate limits both high priority as well as low priority uploads. We introduce Rate limiter for low priority uploads to solve this.
Related Issues
Resolves #14373
Check List
API changes companion pull request created, if applicable.Public documentation issue/PR created, if applicable.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.