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

Make multiple settings dynamic for Merge on Flush #17495

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kkewwei
Copy link
Contributor

@kkewwei kkewwei commented Mar 3, 2025

Description

  • Make those settings dynamic:
  • index.merge_on_flush.enabled
  • index.merge_on_flush.max_full_flush_merge_wait_time
  • index.merge_on_flush.policy
  • index.check_pending_flush.enabled.

Related Issues

Resolves #10048

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.

@github-actions github-actions bot added bug Something isn't working discuss Issues intended to help drive brainstorming and decision making Indexing Indexing, Bulk Indexing and anything related to indexing labels Mar 3, 2025
@kkewwei kkewwei force-pushed the dynamic_settings branch from 6adb78d to bbb906f Compare March 3, 2025 12:05
Copy link
Contributor

github-actions bot commented Mar 3, 2025

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

@kkewwei kkewwei force-pushed the dynamic_settings branch from bbb906f to c8b84a8 Compare March 3, 2025 13:20
…lush_merge_wait_time`, `index.merge_on_flush.policy`, `index.check_pending_flush.enabled` dynamic

Signed-off-by: kkewwei <[email protected]>
Signed-off-by: kkewwei <[email protected]>
@kkewwei kkewwei force-pushed the dynamic_settings branch from c8b84a8 to b2a9ecc Compare March 3, 2025 13:24
Copy link
Contributor

github-actions bot commented Mar 3, 2025

❕ Gradle check result for b2a9ecc: 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.

Copy link

codecov bot commented Mar 3, 2025

Codecov Report

Attention: Patch coverage is 84.61538% with 4 lines in your changes missing coverage. Please review.

Project coverage is 72.46%. Comparing base (0ffed5e) to head (b2a9ecc).
Report is 8 commits behind head on main.

Files with missing lines Patch % Lines
...va/org/opensearch/index/engine/InternalEngine.java 82.60% 3 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main   #17495      +/-   ##
============================================
+ Coverage     72.42%   72.46%   +0.04%     
- Complexity    65611    65655      +44     
============================================
  Files          5304     5306       +2     
  Lines        304743   304615     -128     
  Branches      44189    44167      -22     
============================================
+ Hits         220701   220736      +35     
+ Misses        65888    65836      -52     
+ Partials      18154    18043     -111     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working discuss Issues intended to help drive brainstorming and decision making Indexing Indexing, Bulk Indexing and anything related to indexing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Dynamic Merge on Flush Settings don't seem to apply when updated on the open indices.
1 participant