-
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
[segment replication] decouple the rateLimiter of segrep and recovery #12959
Conversation
… (12939) add setting "segrep.max_bytes_per_sec" Signed-off-by: maxliu <ly_chinese@163.com>
❌ Gradle check result for 8b844fe: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
❕ Gradle check result for 25936fc: 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. |
25936fc
to
9f1e604
Compare
This LGTM @Ferrari248 just one last thing - given this is a user facing change I think we should add a changelog entry. Would you please update changelog.md here? |
…opensearch-project#12939) add setting "indices.replication.max_bytes_per_sec" which takes effect when not negative Signed-off-by: maxliu <ly_chinese@163.com> Adds change log Signed-off-by: maxliu <ly_chinese@163.com>
9f1e604
to
8c1a6ce
Compare
Thanks for review. Done. |
❕ Gradle check result for 4f63511: 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. |
4f63511
to
055765c
Compare
❕ Gradle check result for 055765c: 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. |
055765c
to
47577b0
Compare
❌ Gradle check result for 47577b0: TIMEOUT Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: maxliu <ly_chinese@163.com>
47577b0
to
fedc06c
Compare
added docs issue - opensearch-project/documentation-website#6948 |
…#12959) * [segment replication] decouple the rateLimiter of segrep and recovery (12939) add setting "segrep.max_bytes_per_sec" Signed-off-by: maxliu <ly_chinese@163.com> * [segment replication] decouple the rateLimiter of segrep and recovery (12939) use setting "indices.replication.max_bytes_per_sec" if enable "indices.replication.use_individual_rate_limiter" Signed-off-by: maxliu <ly_chinese@163.com> * [segment replication] decouple the rateLimiter of segrep and recovery (12939) setting "indices.replication.max_bytes_per_sec" takes effect when not negative Signed-off-by: maxliu <ly_chinese@163.com> * [segment replication] decouple the rateLimiter of segrep and recovery (#12939) add setting "indices.replication.max_bytes_per_sec" which takes effect when not negative Signed-off-by: maxliu <ly_chinese@163.com> Adds change log Signed-off-by: maxliu <ly_chinese@163.com> --------- Signed-off-by: maxliu <ly_chinese@163.com> (cherry picked from commit 6bc04b4) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…#12959) * [segment replication] decouple the rateLimiter of segrep and recovery (12939) add setting "segrep.max_bytes_per_sec" Signed-off-by: maxliu <ly_chinese@163.com> * [segment replication] decouple the rateLimiter of segrep and recovery (12939) use setting "indices.replication.max_bytes_per_sec" if enable "indices.replication.use_individual_rate_limiter" Signed-off-by: maxliu <ly_chinese@163.com> * [segment replication] decouple the rateLimiter of segrep and recovery (12939) setting "indices.replication.max_bytes_per_sec" takes effect when not negative Signed-off-by: maxliu <ly_chinese@163.com> * [segment replication] decouple the rateLimiter of segrep and recovery (#12939) add setting "indices.replication.max_bytes_per_sec" which takes effect when not negative Signed-off-by: maxliu <ly_chinese@163.com> Adds change log Signed-off-by: maxliu <ly_chinese@163.com> --------- Signed-off-by: maxliu <ly_chinese@163.com> (cherry picked from commit 6bc04b4) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…ep and recovery (#13181) * [segment replication] decouple the rateLimiter of segrep and recovery (#12959) * [segment replication] decouple the rateLimiter of segrep and recovery (12939) add setting "segrep.max_bytes_per_sec" Signed-off-by: maxliu <ly_chinese@163.com> * [segment replication] decouple the rateLimiter of segrep and recovery (12939) use setting "indices.replication.max_bytes_per_sec" if enable "indices.replication.use_individual_rate_limiter" Signed-off-by: maxliu <ly_chinese@163.com> * [segment replication] decouple the rateLimiter of segrep and recovery (12939) setting "indices.replication.max_bytes_per_sec" takes effect when not negative Signed-off-by: maxliu <ly_chinese@163.com> * [segment replication] decouple the rateLimiter of segrep and recovery (#12939) add setting "indices.replication.max_bytes_per_sec" which takes effect when not negative Signed-off-by: maxliu <ly_chinese@163.com> Adds change log Signed-off-by: maxliu <ly_chinese@163.com> --------- Signed-off-by: maxliu <ly_chinese@163.com> (cherry picked from commit 6bc04b4) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Add back public API in RecoverySettings to 2.x Signed-off-by: Marc Handalian <marc.handalian@gmail.com> --------- Signed-off-by: maxliu <ly_chinese@163.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Signed-off-by: Marc Handalian <marc.handalian@gmail.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Marc Handalian <marc.handalian@gmail.com>
Description
add setting
indices.replication.max_bytes_per_sec
specially for segment replication, to decouple the rateLimiter of segment replication and recovery.Related Issues
Resolves #12939
Check List
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.