-
Notifications
You must be signed in to change notification settings - Fork 132
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
Disable index refresh for system indices #915
Disable index refresh for system indices #915
Conversation
Signed-off-by: Martin Gaievski <[email protected]>
b2debe1
to
73cda11
Compare
Codecov Report
@@ Coverage Diff @@
## main #915 +/- ##
============================================
- Coverage 85.35% 85.10% -0.25%
+ Complexity 1089 1084 -5
============================================
Files 152 152
Lines 4404 4404
Branches 389 389
============================================
- Hits 3759 3748 -11
- Misses 470 479 +9
- Partials 175 177 +2 |
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-2.x 2.x
# Navigate to the new working tree
cd .worktrees/backport-2.x
# Create a new branch
git switch --create backport/backport-915-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 a5214a3dfe86d5790fe204385bc92af147f98434
# Push it to GitHub
git push --set-upstream origin backport/backport-915-to-2.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-2.x Then, create a pull request where the |
Signed-off-by: Martin Gaievski <[email protected]> (cherry picked from commit a5214a3)
Signed-off-by: Martin Gaievski <[email protected]> (cherry picked from commit a5214a3)
Signed-off-by: Martin Gaievski <[email protected]> (cherry picked from commit a5214a3)
Description
Standard method refreshAllIndices refreshes all indices including system. This produces error warnings when running integration tests for indices like '.opensearch-knn-models'. In this change we're filtering indices and do refresh only if its name doesn't start with system prefix.
Issues Resolved
#914
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.