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

[Remote Store] Add support for Remote Translog Store stats in _remotestore/stats/ API #9738

Conversation

BhumikaSaini-Amazon
Copy link
Contributor

Description

Backport for #9263

Related Issues

#8311

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.

…store/stats/ API (opensearch-project#9263)

---------

Signed-off-by: Bhumika Saini <sabhumik@amazon.com>
@github-actions
Copy link
Contributor

github-actions bot commented Sep 4, 2023

Compatibility status:

Checks if related components are compatible with change 93c71d9

Incompatible components

Incompatible components: [https://github.com/opensearch-project/performance-analyzer.git]

Skipped components

Compatible components

Compatible 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/asynchronous-search.git, https://github.com/opensearch-project/sql.git, https://github.com/opensearch-project/observability.git, https://github.com/opensearch-project/common-utils.git, https://github.com/opensearch-project/job-scheduler.git, https://github.com/opensearch-project/reporting.git, https://github.com/opensearch-project/cross-cluster-replication.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/geospatial.git, https://github.com/opensearch-project/notifications.git, https://github.com/opensearch-project/ml-commons.git, https://github.com/opensearch-project/neural-search.git, https://github.com/opensearch-project/performance-analyzer-rca.git, https://github.com/opensearch-project/security-analytics.git]

@github-actions
Copy link
Contributor

github-actions bot commented Sep 4, 2023

Gradle Check (Jenkins) Run Completed with:

Signed-off-by: Bhumika Saini <sabhumik@amazon.com>
@github-actions
Copy link
Contributor

github-actions bot commented Sep 5, 2023

Compatibility status:

Checks if related components are compatible with change bbfe80b

Incompatible components

Incompatible components: [https://github.com/opensearch-project/performance-analyzer.git]

Skipped components

Compatible components

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

@github-actions
Copy link
Contributor

github-actions bot commented Sep 5, 2023

Gradle Check (Jenkins) Run Completed with:

@BhumikaSaini-Amazon
Copy link
Contributor Author

@github-actions
Copy link
Contributor

github-actions bot commented Sep 5, 2023

Gradle Check (Jenkins) Run Completed with:

@codecov
Copy link

codecov bot commented Sep 5, 2023

Codecov Report

Merging #9738 (bbfe80b) into 2.x (26197f3) will decrease coverage by 0.01%.
Report is 4 commits behind head on 2.x.
The diff coverage is 86.39%.

@@             Coverage Diff              @@
##                2.x    #9738      +/-   ##
============================================
- Coverage     70.98%   70.98%   -0.01%     
+ Complexity    58020    58016       -4     
============================================
  Files          4794     4796       +2     
  Lines        273521   273853     +332     
  Branches      40232    40250      +18     
============================================
+ Hits         194155   194381     +226     
- Misses        62819    62840      +21     
- Partials      16547    16632      +85     
Files Changed Coverage Δ
...testore/stats/TransportRemoteStoreStatsAction.java 41.02% <0.00%> (-3.42%) ⬇️
...arch/index/remote/RemoteStorePressureSettings.java 87.09% <ø> (ø)
...ain/java/org/opensearch/indices/IndicesModule.java 98.23% <ø> (-0.02%) ⬇️
...ch/index/remote/RemoteTranslogTransferTracker.java 78.91% <78.91%> (ø)
...search/index/shard/RemoteStoreRefreshListener.java 86.26% <80.00%> (ø)
...rg/opensearch/index/translog/RemoteFsTranslog.java 72.58% <86.20%> (+2.48%) ⬆️
...earch/index/remote/RemoteStorePressureService.java 85.00% <87.50%> (+0.51%) ⬆️
...opensearch/index/remote/RemoteTransferTracker.java 88.57% <88.57%> (ø)
...dex/translog/transfer/TranslogTransferManager.java 78.96% <90.56%> (+2.00%) ⬆️
...h/index/translog/transfer/FileTransferTracker.java 92.98% <90.90%> (-1.62%) ⬇️
... and 6 more

... and 441 files with indirect coverage changes

@sachinpkale sachinpkale merged commit 106c7fb into opensearch-project:2.x Sep 5, 2023
37 checks passed
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.

2 participants