-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Pressure service for merged segment warmer #19009
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
Draft
kh3ra
wants to merge
28
commits into
opensearch-project:main
Choose a base branch
from
kh3ra:dev/merged-segment-warmer-pressure-service
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
53c5ab2
Adding stats for merged segment warmer
kh3ra 67152ea
Adding unit tests
kh3ra 408c5b2
SpotlessApply
kh3ra 8f9e47a
Minor fix
kh3ra 782b7bf
minor fix
kh3ra c0ef3f7
addressing review comments - tests to follow
kh3ra 8a78f37
Addressing review comments + added ITs
d6b1d42
addressing review comments - tests to follow
kh3ra b504f26
Changelog + minor bug fix
1f5e4f0
Addressing review comments + added UTs
08c23d2
Fixing tests
728b0e1
Restored breaking publicAPIs
173addd
spotlessApply
ffcb4f1
Empty commit
49eaa8c
Empty commit to trigger build
b97a886
Test changes
9aa9589
Empty commit
f9e8037
Empty commit to trigger build
2119eb6
Fixing tests
454b9e0
fixes to merged segment warmer + tests
09804ef
spotlessApply
da1efc6
Fixing ITs after rebase
4b12b7b
Adding stats for merged segment warmer
kh3ra 45614ab
Adding the MergedSegmentWarmerPressureService
kh3ra d4a1d58
Adding javadoc + spotlessApply
kh3ra 19af37a
Fix: ForbiddenAPIs
kh3ra e4ea4cc
Bug fixes
kh3ra d422f60
rebased with merged-segment-warmer-stats
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
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
280 changes: 193 additions & 87 deletions
280
rest-api-spec/src/main/resources/rest-api-spec/test/cat.shards/10_basic.yml
Large diffs are not rendered by default.
Oops, something went wrong.
350 changes: 350 additions & 0 deletions
350
server/src/internalClusterTest/java/org/opensearch/merge/MergeStatsIT.java
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Add version checks here. Like this: https://github.com/opensearch-project/OpenSearch/blob/main/server/src/main/java/org/opensearch/action/admin/indices/stats/ShardStats.java#L168-L170
The payload sent from the data node running lower version would not have this field, without version check based ser-de, the stats API would break during version upgrades