Skip to content
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] add SEGMENT_COUNTER_INCREMENT_STEP_SETTING and increase default step #17568

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

guojialiang92
Copy link

@guojialiang92 guojialiang92 commented Mar 11, 2025

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

  • Functionality includes testing.
  • 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.

Copy link
Contributor

❌ 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?

@guojialiang92 guojialiang92 force-pushed the dev/add_segment_counter_increment_step_setting branch from 36c979d to c3d39c5 Compare March 11, 2025 10:31
Copy link
Contributor

❌ 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?

Copy link
Contributor

❌ Gradle check result for f31109c: 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?

@guojialiang92
Copy link
Author

  • What went wrong:
    Execution failed for task ':distribution:bwc:bugfix:buildBwcLinuxTar'.

Building 2.19.1 didn't generate expected file /var/jenkins/workspace/gradle-check/search/distribution/bwc/bugfix/build/bwc/checkout-2.19/distribution/archives/linux-tar/build/distributions/opensearch-min-2.19.1-SNAPSHOT-linux-x64.tar.gz

It doesn't look like a code problem. Can anyone help take a look?

@andrross andrross added Indexing:Replication Issues and PRs related to core replication framework eg segrep and removed _No response_ labels Mar 13, 2025
@guojialiang92 guojialiang92 force-pushed the dev/add_segment_counter_increment_step_setting branch from f31109c to 931dc11 Compare March 14, 2025 10:11
Copy link
Contributor

❌ Gradle check result for 0b4018a: 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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement or improvement to existing feature or request Indexing:Replication Issues and PRs related to core replication framework eg segrep
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[segment replication] Increase the step size when replica promoting
2 participants