-
Notifications
You must be signed in to change notification settings - Fork 2.3k
[segment replication] Increase the default segment counter step size when replica promoting #17568
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] Increase the default segment counter step size when replica promoting #17568
Conversation
|
❌ Gradle check result for 36c979d: 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? |
36c979d to
c3d39c5
Compare
|
❌ Gradle check result for c3d39c5: 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? |
…er_increment_step_setting # Conflicts: # CHANGELOG.md
|
❌ Gradle check result for 7676087: 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? |
…er_increment_step_setting
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #17568 +/- ##
============================================
- Coverage 72.43% 72.41% -0.03%
+ Complexity 66789 66764 -25
============================================
Files 5449 5449
Lines 309085 309085
Branches 44979 44979
============================================
- Hits 223899 223809 -90
- Misses 66906 66924 +18
- Partials 18280 18352 +72 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…er_increment_step_setting
Signed-off-by: guojialiang <[email protected]>
|
❌ Gradle check result for 010aa1c: 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? |
Signed-off-by: guojialiang <[email protected]>
010aa1c to
4e08ac8
Compare
…when replica promoting (opensearch-project#17568) * add segment counter increment step setting Signed-off-by: guojialiang <[email protected]> * add changelog Signed-off-by: guojialiang <[email protected]> * change the default value directly Signed-off-by: guojialiang <[email protected]> * add CHANGELOG Signed-off-by: guojialiang <[email protected]> --------- Signed-off-by: guojialiang <[email protected]> Signed-off-by: Sriram Ganesh <[email protected]>
…when replica promoting (opensearch-project#17568) * add segment counter increment step setting Signed-off-by: guojialiang <[email protected]> * add changelog Signed-off-by: guojialiang <[email protected]> * change the default value directly Signed-off-by: guojialiang <[email protected]> * add CHANGELOG Signed-off-by: guojialiang <[email protected]> --------- Signed-off-by: guojialiang <[email protected]> Signed-off-by: Harsh Kothari <[email protected]>
…when replica promoting (opensearch-project#17568) * add segment counter increment step setting Signed-off-by: guojialiang <[email protected]> * add changelog Signed-off-by: guojialiang <[email protected]> * change the default value directly Signed-off-by: guojialiang <[email protected]> * add CHANGELOG Signed-off-by: guojialiang <[email protected]> --------- Signed-off-by: guojialiang <[email protected]> Signed-off-by: Harsh Kothari <[email protected]>
Description
This PR solves the problem raised by issue 17566
To avoid segment number conflicts, adjust the default step to 100000.
In order to adjust flexibly, I have added dynamic configuration at the index level.
Related Issues
Resolves 17566
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.