-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Add API for clearing file cache on search nodes #7323
Add API for clearing file cache on search nodes #7323
Conversation
b0e8077
to
19b6280
Compare
Gradle Check (Jenkins) Run Completed with:
|
19b6280
to
0664b6b
Compare
Gradle Check (Jenkins) Run Completed with:
|
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## main #7323 +/- ##
============================================
- Coverage 70.71% 70.61% -0.10%
+ Complexity 59497 59456 -41
============================================
Files 4859 4859
Lines 285339 285369 +30
Branches 41133 41135 +2
============================================
- Hits 201772 201517 -255
- Misses 66965 67303 +338
+ Partials 16602 16549 -53
|
0664b6b
to
aea6bd2
Compare
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: Kunal Kotwani <kkotwani@amazon.com>
aea6bd2
to
8bd6288
Compare
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Seems to be unrelated. |
Gradle Check (Jenkins) Run Completed with:
|
Unrelated failure:
|
Gradle Check (Jenkins) Run Completed with:
|
Why not add this as a new case to the existing API? e.g. https://opensearch.org/docs/latest/api-reference/index-apis/clear-index-cache/ |
I thought of that. The caveat there is that it operates on a shard level, and we want a node level request. |
+1 to @andrross point, I understand the current limitation (which we could work through) but the new API introduces the inconsistencies with existing |
I do believe that @reta Do you think |
To me, the |
I think that clears it up for me. Thanks @reta and @andrross! |
Closing in favor of #7498 |
Description
Sample Output -
POST /_filecache/clear
Issues Resolved
Resolves #6030
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.