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

Add ShardBatchCache to support caching for TransportNodesListGatewayStartedShardsBatch #12504

Merged
merged 37 commits into from
Apr 11, 2024

Mark clearShard method as synchronized

08763ed
Select commit
Loading
Failed to load commit list.
Merged

Add ShardBatchCache to support caching for TransportNodesListGatewayStartedShardsBatch #12504

Mark clearShard method as synchronized
08763ed
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 11, 2024 in 1s

71.54% (target 70.00%)

View this Pull Request on Codecov

71.54% (target 70.00%)

Details

Codecov Report

Attention: Patch coverage is 67.28972% with 35 lines in your changes are missing coverage. Please review.

Project coverage is 71.54%. Comparing base (b15cb0c) to head (08763ed).
Report is 151 commits behind head on main.

Files Patch % Lines
...y/TransportNodesListGatewayStartedShardsBatch.java 0.00% 16 Missing ⚠️
...a/org/opensearch/gateway/AsyncShardBatchFetch.java 91.30% 5 Missing and 1 partial ⚠️
.../opensearch/gateway/ShardBatchResponseFactory.java 55.55% 2 Missing and 2 partials ⚠️
...teway/TransportNodesGatewayStartedShardHelper.java 20.00% 1 Missing and 3 partials ⚠️
...ore/TransportNodesListShardStoreMetadataBatch.java 0.00% 3 Missing ⚠️
...n/java/org/opensearch/gateway/AsyncShardFetch.java 50.00% 1 Missing ⚠️
.../org/opensearch/indices/store/ShardAttributes.java 50.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main   #12504      +/-   ##
============================================
+ Coverage     71.42%   71.54%   +0.12%     
- Complexity    59978    60509     +531     
============================================
  Files          4985     5028      +43     
  Lines        282275   284541    +2266     
  Branches      40946    41214     +268     
============================================
+ Hits         201603   203580    +1977     
- Misses        63999    64208     +209     
- Partials      16673    16753      +80     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.