-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Add file extension metadata to cache miss counter from SharedBlobCacheService #134374
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
Merged
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
8bf64ae
Add file extension metadata to CacheMissCounter
tteofili a7a21be
record file extensions
tteofili 7eb609f
Merge branch 'main' of github.com:elastic/elasticsearch into cachemis…
tteofili 60866ef
[CI] Auto commit changes from spotless
727c25c
better account for compound / stateless files
tteofili 46c77e3
Merge branch 'main' of github.com:elastic/elasticsearch into cachemis…
tteofili 3a8c423
edge case handling
tteofili 764d63c
Merge branch 'main' of github.com:elastic/elasticsearch into cachemis…
tteofili ce78e19
get rid of resource string parsing for now
tteofili af291ae
Merge branch 'main' of github.com:elastic/elasticsearch into cachemis…
tteofili 9116e7e
Merge branch 'main' of github.com:elastic/elasticsearch into cachemis…
tteofili f6951c3
test
tteofili de40258
Merge branch 'main' of github.com:elastic/elasticsearch into cachemis…
tteofili dbc0f01
test
tteofili 697927c
forbidden apis fixes
tteofili bd9e5f4
Merge branch 'main' of github.com:elastic/elasticsearch into cachemis…
tteofili fa05d4e
add todos
tteofili b26a110
Update docs/changelog/134374.yaml
tteofili ebf6aad
Merge branch 'main' of github.com:elastic/elasticsearch into cachemis…
tteofili 4946785
Merge branch 'cachemiss_metric_filext' of github.com:tteofili/elastic…
tteofili aa84ca3
Merge branch 'main' of github.com:elastic/elasticsearch into cachemis…
tteofili ac9e6ca
just catch Exception
tteofili 201f0dd
avoid asserting code block
tteofili 7978595
Merge branch 'main' of github.com:elastic/elasticsearch into cachemis…
tteofili 91461d3
minor fix
tteofili e987861
Merge branch 'main' of github.com:elastic/elasticsearch into cachemis…
tteofili 9ae04c3
Merge branch 'main' of github.com:elastic/elasticsearch into cachemis…
tteofili c651dc5
simplification, more tests
tteofili be8efcd
spotless
tteofili 6823674
minor test fix
tteofili 0683721
Merge branch 'main' of github.com:elastic/elasticsearch into cachemis…
tteofili 3710a77
Merge branch 'main' of github.com:elastic/elasticsearch into cachemis…
tteofili b628553
Merge branch 'main' of github.com:elastic/elasticsearch into cachemis…
tteofili 71d1eab
Merge branch 'main' of github.com:elastic/elasticsearch into cachemis…
tteofili File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| pr: 134374 | ||
| summary: Add file extension metadata to cache miss counter from `SharedBlobCacheService` | ||
| area: Search | ||
| type: enhancement | ||
| issues: [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
nit: this is not nullable
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.
if I'm not mistaken,
IndexFileNames#getExtensionmight returnnullin case thefileNamedoesn't contain a., that's why I had put the@Nullableannotation.Uh oh!
There was an error while loading. Please reload this page.
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.
Oh yes. I see what you mean.
We should
@Nullabletheextmethod parameter ++Being on the method it indicates the method can return null.