Skip to content
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

[Backport-2.x] Adding extra fields under RemoteStore stats in NodeStats #9544

Merged
merged 3 commits into from
Aug 25, 2023

Conversation

shourya035
Copy link
Member

Description

Backporting #9393 and #9454 to 2.x branch

Removing version checks also in this backport PR. Changes in main to remove the version checks would follow this PR.

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff
  • Commit changes are listed out in CHANGELOG.md file (See: Changelog)

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.

…ject#9393)

---------

Signed-off-by: Shourya Dutta Biswas <114977491+shourya035@users.noreply.github.com>
(cherry picked from commit 784a473)
…o nodes stats (opensearch-project#9454)

---------

Signed-off-by: Shourya Dutta Biswas <114977491+shourya035@users.noreply.github.com>
(cherry picked from commit c90b6ea)
Signed-off-by: Shourya Dutta Biswas <114977491+shourya035@users.noreply.github.com>
@github-actions
Copy link
Contributor

Compatibility status:

Checks if related components are compatible with change 9160e5a

Incompatible components

Incompatible components: [https://github.com/opensearch-project/index-management.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/performance-analyzer.git, https://github.com/opensearch-project/notifications.git]

Skipped components

Compatible components

Compatible components: [https://github.com/opensearch-project/security.git, https://github.com/opensearch-project/sql.git, https://github.com/opensearch-project/job-scheduler.git, https://github.com/opensearch-project/observability.git, https://github.com/opensearch-project/cross-cluster-replication.git, https://github.com/opensearch-project/performance-analyzer-rca.git, https://github.com/opensearch-project/ml-commons.git, https://github.com/opensearch-project/alerting.git, https://github.com/opensearch-project/geospatial.git, https://github.com/opensearch-project/anomaly-detection.git, https://github.com/opensearch-project/asynchronous-search.git, https://github.com/opensearch-project/neural-search.git, https://github.com/opensearch-project/common-utils.git, https://github.com/opensearch-project/reporting.git, https://github.com/opensearch-project/security-analytics.git]

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@codecov
Copy link

codecov bot commented Aug 25, 2023

Codecov Report

Merging #9544 (9160e5a) into 2.x (f147372) will decrease coverage by 0.07%.
The diff coverage is 94.06%.

@@             Coverage Diff              @@
##                2.x    #9544      +/-   ##
============================================
- Coverage     70.83%   70.77%   -0.07%     
+ Complexity    57660    57628      -32     
============================================
  Files          4766     4766              
  Lines        272239   272312      +73     
  Branches      40117    40117              
============================================
- Hits         192842   192726     -116     
- Misses        62893    63058     +165     
- Partials      16504    16528      +24     
Files Changed Coverage Δ
...rc/main/java/org/opensearch/index/store/Store.java 81.66% <33.33%> (+0.71%) ⬆️
...search/index/shard/RemoteStoreRefreshListener.java 85.55% <78.57%> (-0.16%) ⬇️
...rch/index/remote/RemoteSegmentTransferTracker.java 81.25% <95.45%> (+0.70%) ⬆️
...arch/index/store/DirectoryFileTransferTracker.java 85.56% <97.67%> (+3.13%) ⬆️
...rg/opensearch/index/remote/RemoteSegmentStats.java 98.24% <100.00%> (+0.62%) ⬆️

... and 468 files with indirect coverage changes

@sachinpkale sachinpkale merged commit 9ae53eb into opensearch-project:2.x Aug 25, 2023
36 checks passed
@shourya035 shourya035 deleted the backport-9454-9393-2.x branch August 25, 2023 09:15
Comment on lines +89 to +91
totalRefreshBytesLag = in.readLong();
totalUploadTime = in.readLong();
totalDownloadTime = in.readLong();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs a version check for 2.10?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants