Allow index.search.idle.after to be -1 to disable search idle - #22873
Allow index.search.idle.after to be -1 to disable search idle#22873tonklable wants to merge 8 commits into
Conversation
PR Reviewer Guide 🔍(Review updated until commit 205e782)Here are some key observations to aid the review process:
|
3394541 to
83bc978
Compare
|
Persistent review updated to latest commit 83bc978 |
83bc978 to
1681737
Compare
|
Persistent review updated to latest commit 1681737 |
Signed-off-by: Natprawee Pattayawij <tonklalor2544@gmail.com>
1681737 to
8eb9008
Compare
|
Persistent review updated to latest commit 8eb9008 |
|
❌ Gradle check result for 8eb9008: 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? |
8eb9008 to
1a286a0
Compare
Signed-off-by: Natprawee Pattayawij <tonklalor2544@gmail.com>
|
Persistent review updated to latest commit 1a286a0 |
|
❌ Gradle check result for 1a286a0: 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? |
|
Persistent review updated to latest commit 20fab4c |
|
❌ Gradle check result for 20fab4c: 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? |
20fab4c to
5ab7fec
Compare
|
Persistent review updated to latest commit 5ab7fec |
PR Code Suggestions ✨Latest suggestions up to 681cb1a Explore these optional code suggestions:
Previous suggestionsSuggestions up to commit 8f5ff50
Suggestions up to commit 5ab7fec
|
|
Persistent review updated to latest commit 8f5ff50 |
8f5ff50 to
681cb1a
Compare
Signed-off-by: Natprawee Pattayawij <tonklalor2544@gmail.com>
|
Persistent review updated to latest commit 681cb1a |
|
❌ Gradle check result for 681cb1a: 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? |
|
Persistent review updated to latest commit 1d28e1f |
|
❌ Gradle check result for 1d28e1f: 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: Natprawee Pattayawij <tonklalor2544@gmail.com>
|
Persistent review updated to latest commit 1ffbcf1 |
|
❕ Gradle check result for 1ffbcf1: 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. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #22873 +/- ##
============================================
- Coverage 71.58% 71.52% -0.07%
+ Complexity 77341 77248 -93
============================================
Files 6170 6170
Lines 359775 359774 -1
Branches 52478 52479 +1
============================================
- Hits 257541 257313 -228
- Misses 81770 82005 +235
+ Partials 20464 20456 -8 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Signed-off-by: Natprawee Pattayawij <tonklalor2544@gmail.com>
|
Persistent review updated to latest commit 7e7871d |
|
❌ Gradle check result for 7e7871d: 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: Natprawee Pattayawij <tonklalor2544@gmail.com>
|
Persistent review updated to latest commit 205e782 |
Description
[Describe what this change achieves]
Currently, OpenSearch sets
index.search.idle.afterto 30s by default. To disable idle time, there is only one way, to setindex.refresh_intervalexplicitly. However,index.refresh_intervalis 1s by default, and we did not want to change it. It is not a good convention to set one variable explicitly for a different behavior (disabling idle).-1is a standard convention to disable something, so this PR is to allow-1forindex.search.idle.afterin order to disable idle time.Related Issues
Resolves #9707 (comment)
I commented in a closed Issue. I can raised a new Issue if needed.
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.