-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Added a dynamic cluster setting to control merge segment warming #18942
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
Added a dynamic cluster setting to control merge segment warming #18942
Conversation
|
❌ Gradle check result for 8dd3cea: 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? |
|
@ashking94 Do we want to have a validation on the experimental flag for this new setting? |
|
❌ Gradle check result for 426741a: 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? |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #18942 +/- ##
============================================
+ Coverage 72.79% 72.81% +0.02%
- Complexity 69605 69689 +84
============================================
Files 5658 5658
Lines 320079 320102 +23
Branches 46345 46350 +5
============================================
+ Hits 232996 233097 +101
+ Misses 68230 68128 -102
- Partials 18853 18877 +24 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
❌ Gradle check result for d0937b4: 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? |
84f8746 to
00ea9d4
Compare
|
❌ Gradle check result for 00ea9d4: 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? |
Flaky test - #18956 |
|
Lets add a proper PR title and description |
...nalClusterTest/java/org/opensearch/indices/replication/RemoteStoreMergedSegmentWarmerIT.java
Outdated
Show resolved
Hide resolved
...nalClusterTest/java/org/opensearch/indices/replication/RemoteStoreMergedSegmentWarmerIT.java
Show resolved
Hide resolved
server/src/main/java/org/opensearch/index/engine/MergedSegmentWarmer.java
Show resolved
Hide resolved
server/src/main/java/org/opensearch/indices/recovery/RecoverySettings.java
Outdated
Show resolved
Hide resolved
server/src/test/java/org/opensearch/indices/recovery/RecoverySettingsDynamicUpdateTests.java
Show resolved
Hide resolved
|
❌ Gradle check result for cfbd8dc: 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 29b2c68: 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 ca8cf97: null 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 153f343: 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? |
ashking94
left a comment
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.
Left a comment, overall lgtm
…re. The feature would be disabled by default Signed-off-by: kh3ra <[email protected]> Signed-off-by: Aditya Khera <[email protected]>
Signed-off-by: kh3ra <[email protected]> Signed-off-by: Aditya Khera <[email protected]>
Signed-off-by: kh3ra <[email protected]> Signed-off-by: Aditya Khera <[email protected]>
Signed-off-by: kh3ra <[email protected]> Signed-off-by: Aditya Khera <[email protected]>
Signed-off-by: kh3ra <[email protected]> Signed-off-by: Aditya Khera <[email protected]>
Signed-off-by: Aditya Khera <[email protected]>
Signed-off-by: Aditya Khera <[email protected]>
Signed-off-by: Aditya Khera <[email protected]>
Signed-off-by: Aditya Khera <[email protected]>
Signed-off-by: Aditya Khera <[email protected]>
Signed-off-by: Aditya Khera <[email protected]>
Signed-off-by: Aditya Khera <[email protected]>
Signed-off-by: Aditya Khera <[email protected]>
5867ae7 to
58dcce9
Compare
|
❌ Gradle check result for 58dcce9: null 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: Aditya Khera <[email protected]>
server/src/main/java/org/opensearch/indices/recovery/RecoverySettings.java
Show resolved
Hide resolved
…nsearch-project#18942) * Adding dynamic cluster setting to control merge segment warming feature. The feature would be disabled by default Signed-off-by: kh3ra <[email protected]> Signed-off-by: Aditya Khera <[email protected]>
…nsearch-project#18942) * Adding dynamic cluster setting to control merge segment warming feature. The feature would be disabled by default Signed-off-by: kh3ra <[email protected]> Signed-off-by: Aditya Khera <[email protected]> Signed-off-by: Ankit Jain <[email protected]>
…nsearch-project#18942) * Adding dynamic cluster setting to control merge segment warming feature. The feature would be disabled by default Signed-off-by: kh3ra <[email protected]> Signed-off-by: Aditya Khera <[email protected]> Signed-off-by: Ankit Jain <[email protected]>
…nsearch-project#18942) * Adding dynamic cluster setting to control merge segment warming feature. The feature would be disabled by default Signed-off-by: kh3ra <[email protected]> Signed-off-by: Aditya Khera <[email protected]>
…nsearch-project#18942) * Adding dynamic cluster setting to control merge segment warming feature. The feature would be disabled by default Signed-off-by: kh3ra <[email protected]> Signed-off-by: Aditya Khera <[email protected]>
…nsearch-project#18942) * Adding dynamic cluster setting to control merge segment warming feature. The feature would be disabled by default Signed-off-by: kh3ra <[email protected]> Signed-off-by: Aditya Khera <[email protected]>
…nsearch-project#18942) * Adding dynamic cluster setting to control merge segment warming feature. The feature would be disabled by default Signed-off-by: kh3ra <[email protected]> Signed-off-by: Aditya Khera <[email protected]> Signed-off-by: Pranit Kumar <[email protected]>
…nsearch-project#18942) * Adding dynamic cluster setting to control merge segment warming feature. The feature would be disabled by default Signed-off-by: kh3ra <[email protected]> Signed-off-by: Aditya Khera <[email protected]>
Description
Added a dynamic cluster setting -
indices.replication.merged_segment_warmer_enabledto enable the merged segment warmer feature. This can only be enabled ifFeatureFlags.MERGED_SEGMENT_WARMER_EXPERIMENTAL_FLAGis enabled.The default value for the setting is false.
Related Issues
Resolves #[Issue number to be closed when this PR is merged]
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.