-
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
[Remote Store] Add Remote Store backpressure rejection stats to _nodes/stats #10524
[Remote Store] Add Remote Store backpressure rejection stats to _nodes/stats #10524
Conversation
Compatibility status:Checks if related components are compatible with change cdbe14d Incompatible componentsIncompatible components: [https://github.com/opensearch-project/opensearch-oci-object-storage.git, https://github.com/opensearch-project/performance-analyzer-rca.git] Skipped componentsCompatible componentsCompatible components: [https://github.com/opensearch-project/security.git, https://github.com/opensearch-project/alerting.git, https://github.com/opensearch-project/index-management.git, https://github.com/opensearch-project/anomaly-detection.git, https://github.com/opensearch-project/sql.git, https://github.com/opensearch-project/asynchronous-search.git, https://github.com/opensearch-project/job-scheduler.git, https://github.com/opensearch-project/observability.git, https://github.com/opensearch-project/common-utils.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/reporting.git, https://github.com/opensearch-project/cross-cluster-replication.git, https://github.com/opensearch-project/security-analytics.git, https://github.com/opensearch-project/custom-codecs.git, https://github.com/opensearch-project/performance-analyzer.git, https://github.com/opensearch-project/ml-commons.git] |
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
@gbbafna instead of keeping the blobs of the new metrics at the top-level, should we add them under the "segments" : {
"count" : 0,
"memory_in_bytes" : 0,
"terms_memory_in_bytes" : 0,
"stored_fields_memory_in_bytes" : 0,
"term_vectors_memory_in_bytes" : 0,
"norms_memory_in_bytes" : 0,
"points_memory_in_bytes" : 0,
"doc_values_memory_in_bytes" : 0,
"index_writer_memory_in_bytes" : 0,
"version_map_memory_in_bytes" : 0,
"fixed_bit_set_memory_in_bytes" : 0,
"max_unsafe_auto_id_timestamp" : -9223372036854775808,
"remote_store" : {
"upload" : {
"total_upload_size" : {
"started_bytes" : 0,
"succeeded_bytes" : 0,
"failed_bytes" : 0
},
"refresh_size_lag" : {
"total_bytes" : 0,
"max_bytes" : 0
},
"max_refresh_time_lag_in_millis" : 0,
"total_time_spent_in_millis" : 0,
"pressure" : {
"total_rejections" : <count>,
}
},
"download" : {
"total_download_size" : {
"started_bytes" : 0,
"succeeded_bytes" : 0,
"failed_bytes" : 0
},
"total_time_spent_in_millis" : 0
}
},
"segment_replication" : {
"max_bytes_behind" : "0b",
"total_bytes_behind" : "0b",
"max_replication_lag" : "0s",
"pressure" : {
"total_rejections" : <count>,
},
},
"file_sizes" : { }
}, Proposing this so that we get shard-level visibility as well. Additionally, given that remote store backpressure rejections can be split further based on various rejection reasons (code pointer), I am proposing to use the field name What do you think? Thanks! |
Gradle Check (Jenkins) Run Completed with:
|
Codecov Report
@@ Coverage Diff @@
## main #10524 +/- ##
============================================
+ Coverage 71.12% 71.22% +0.10%
- Complexity 58391 58428 +37
============================================
Files 4845 4844 -1
Lines 275335 275315 -20
Branches 40088 40088
============================================
+ Hits 195827 196091 +264
+ Misses 63147 62820 -327
- Partials 16361 16404 +43
|
Gradle Check (Jenkins) Run Completed with:
|
8dc75b1
to
7a6470e
Compare
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
798d8e3
to
86ba32a
Compare
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: Bhumika Saini <[email protected]>
Signed-off-by: Bhumika Saini <[email protected]>
Signed-off-by: Bhumika Saini <[email protected]>
Signed-off-by: Bhumika Saini <[email protected]>
Signed-off-by: Bhumika Saini <[email protected]>
Signed-off-by: Bhumika Saini <[email protected]>
Signed-off-by: Bhumika Saini <[email protected]>
a0323f8
to
e0cf278
Compare
Gradle Check (Jenkins) Run Completed with:
|
@mch2, @gbbafna I have updated this PR to add only the code changes for remote store backpressure rejection stats. @Rishikesh1159 has inflight changes to add the segrep backpressure rejection stats, which we will track as a separate PR. This PR as well as @Rishikesh1159's PR both need to be merged to resolve #10501. |
Signed-off-by: Bhumika Saini <[email protected]>
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: Bhumika Saini <[email protected]>
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: Bhumika Saini <[email protected]>
Summary of failed tests:
|
Gradle Check (Jenkins) Run Completed with:
|
The backport to
To backport manually, run these commands in your terminal: # Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/OpenSearch/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/OpenSearch/backport-2.x
# Create a new branch
git switch --create backport/backport-10524-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 6c1bd487da8ca1794f29302d7a6c6a713f9c6a01
# Push it to GitHub
git push --set-upstream origin backport/backport-10524-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/OpenSearch/backport-2.x Then, create a pull request where the |
…s/stats (opensearch-project#10524) Signed-off-by: Bhumika Saini <[email protected]>
…s/stats (#10524) (#10629) * [Remote Store] Add Remote Store backpressure rejection stats to _nodes/stats (#10524) Signed-off-by: Bhumika Saini <[email protected]> * Update version check Signed-off-by: Bhumika Saini <[email protected]> --------- Signed-off-by: Bhumika Saini <[email protected]>
…s/stats (opensearch-project#10524) Signed-off-by: Bhumika Saini <[email protected]> Signed-off-by: Siddhant Deshmukh <[email protected]>
…s/stats (opensearch-project#10524) Signed-off-by: Bhumika Saini <[email protected]>
…s/stats (opensearch-project#10524) Signed-off-by: Bhumika Saini <[email protected]> Signed-off-by: Shivansh Arora <[email protected]>
Description
Add Remote Store backpressure rejection stats to _nodes/stats
Related Issues
#10501
#10365
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.