-
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
Make file cache stats consistent with other APIs #7169
Make file cache stats consistent with other APIs #7169
Conversation
Gradle Check (Jenkins) Run Completed with:
|
Some cosmetic changes here to make the stat names consistent with [RequestCacheStats][1] and [QueryCacheStats][2] that already exist in the API. I've also removed the 'replaced' and 'removed' stats. These are internal cache details that I don't think will be useful to a user. We can always add them back later if needed. Note this is backward incompatible, but this is okay as this will get in ahead of the next release which removes the feature flag from searchable snapshots. [1]: https://github.com/opensearch-project/OpenSearch/blob/main/server/src/main/java/org/opensearch/index/cache/request/RequestCacheStats.java [2]: https://github.com/opensearch-project/OpenSearch/blob/main/server/src/main/java/org/opensearch/index/cache/query/QueryCacheStats.java Signed-off-by: Andrew Ross <andrross@amazon.com>
4f1fcd7
to
e395c4a
Compare
Gradle Check (Jenkins) Run Completed with:
|
Known test failure: #6287 |
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 #7169 +/- ##
============================================
- Coverage 70.67% 70.65% -0.02%
- Complexity 59457 59479 +22
============================================
Files 4852 4848 -4
Lines 285189 285146 -43
Branches 41118 41111 -7
============================================
- Hits 201564 201483 -81
- Misses 67042 67106 +64
+ Partials 16583 16557 -26
... and 516 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Some cosmetic changes here to make the stat names consistent with [RequestCacheStats][1] and [QueryCacheStats][2] that already exist in the API. I've also removed the 'replaced' and 'removed' stats. These are internal cache details that I don't think will be useful to a user. We can always add them back later if needed. Note this is backward incompatible, but this is okay as this will get in ahead of the next release which removes the feature flag from searchable snapshots. [1]: https://github.com/opensearch-project/OpenSearch/blob/main/server/src/main/java/org/opensearch/index/cache/request/RequestCacheStats.java [2]: https://github.com/opensearch-project/OpenSearch/blob/main/server/src/main/java/org/opensearch/index/cache/query/QueryCacheStats.java Signed-off-by: Andrew Ross <andrross@amazon.com> (cherry picked from commit 621b27f) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Some cosmetic changes here to make the stat names consistent with [RequestCacheStats][1] and [QueryCacheStats][2] that already exist in the API. I've also removed the 'replaced' and 'removed' stats. These are internal cache details that I don't think will be useful to a user. We can always add them back later if needed. Note this is backward incompatible, but this is okay as this will get in ahead of the next release which removes the feature flag from searchable snapshots. [1]: https://github.com/opensearch-project/OpenSearch/blob/main/server/src/main/java/org/opensearch/index/cache/request/RequestCacheStats.java [2]: https://github.com/opensearch-project/OpenSearch/blob/main/server/src/main/java/org/opensearch/index/cache/query/QueryCacheStats.java (cherry picked from commit 621b27f) Signed-off-by: Andrew Ross <andrross@amazon.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…7169) Some cosmetic changes here to make the stat names consistent with [RequestCacheStats][1] and [QueryCacheStats][2] that already exist in the API. I've also removed the 'replaced' and 'removed' stats. These are internal cache details that I don't think will be useful to a user. We can always add them back later if needed. Note this is backward incompatible, but this is okay as this will get in ahead of the next release which removes the feature flag from searchable snapshots. [1]: https://github.com/opensearch-project/OpenSearch/blob/main/server/src/main/java/org/opensearch/index/cache/request/RequestCacheStats.java [2]: https://github.com/opensearch-project/OpenSearch/blob/main/server/src/main/java/org/opensearch/index/cache/query/QueryCacheStats.java Signed-off-by: Andrew Ross <andrross@amazon.com>
Some cosmetic changes here to make the stat names consistent with RequestCacheStats and QueryCacheStats that already exist in the API.
I've also removed the 'replaced' and 'removed' stats. These are internal cache details that I don't think will be useful to a user. We can always add them back later if needed.
Note this is backward incompatible, but this is okay as this will get in ahead of the next release which removes the feature flag from searchable snapshots.
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.