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/patch failed Apr 11, 2024 in 0s

67.28% of diff hit (target 71.42%)

View this Pull Request on Codecov

67.28% of diff hit (target 71.42%)

Annotations

Check warning on line 53 in server/src/main/java/org/opensearch/gateway/AsyncShardBatchFetch.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/gateway/AsyncShardBatchFetch.java#L53

Added line #L53 was not covered by tests

Check warning on line 70 in server/src/main/java/org/opensearch/gateway/AsyncShardBatchFetch.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/gateway/AsyncShardBatchFetch.java#L70

Added line #L70 was not covered by tests

Check warning on line 81 in server/src/main/java/org/opensearch/gateway/AsyncShardBatchFetch.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/gateway/AsyncShardBatchFetch.java#L79-L81

Added lines #L79 - L81 were not covered by tests

Check warning on line 131 in server/src/main/java/org/opensearch/gateway/AsyncShardFetch.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/gateway/AsyncShardFetch.java#L131

Added line #L131 was not covered by tests

Check warning on line 39 in server/src/main/java/org/opensearch/gateway/ShardBatchResponseFactory.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/gateway/ShardBatchResponseFactory.java#L39

Added line #L39 was not covered by tests

Check warning on line 47 in server/src/main/java/org/opensearch/gateway/ShardBatchResponseFactory.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/gateway/ShardBatchResponseFactory.java#L47

Added line #L47 was not covered by tests

Check warning on line 77 in server/src/main/java/org/opensearch/gateway/TransportNodesGatewayStartedShardHelper.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/gateway/TransportNodesGatewayStartedShardHelper.java#L77

Added line #L77 was not covered by tests

Check warning on line 142 in server/src/main/java/org/opensearch/gateway/TransportNodesListGatewayStartedShardsBatch.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/gateway/TransportNodesListGatewayStartedShardsBatch.java#L142

Added line #L142 was not covered by tests

Check warning on line 152 in server/src/main/java/org/opensearch/gateway/TransportNodesListGatewayStartedShardsBatch.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/gateway/TransportNodesListGatewayStartedShardsBatch.java#L152

Added line #L152 was not covered by tests

Check warning on line 160 in server/src/main/java/org/opensearch/gateway/TransportNodesListGatewayStartedShardsBatch.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/gateway/TransportNodesListGatewayStartedShardsBatch.java#L160

Added line #L160 was not covered by tests

Check warning on line 163 in server/src/main/java/org/opensearch/gateway/TransportNodesListGatewayStartedShardsBatch.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/gateway/TransportNodesListGatewayStartedShardsBatch.java#L163

Added line #L163 was not covered by tests

Check warning on line 272 in server/src/main/java/org/opensearch/gateway/TransportNodesListGatewayStartedShardsBatch.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/gateway/TransportNodesListGatewayStartedShardsBatch.java#L272

Added line #L272 was not covered by tests

Check warning on line 274 in server/src/main/java/org/opensearch/gateway/TransportNodesListGatewayStartedShardsBatch.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/gateway/TransportNodesListGatewayStartedShardsBatch.java#L274

Added line #L274 was not covered by tests

Check warning on line 276 in server/src/main/java/org/opensearch/gateway/TransportNodesListGatewayStartedShardsBatch.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/gateway/TransportNodesListGatewayStartedShardsBatch.java#L276

Added line #L276 was not covered by tests

Check warning on line 284 in server/src/main/java/org/opensearch/gateway/TransportNodesListGatewayStartedShardsBatch.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/gateway/TransportNodesListGatewayStartedShardsBatch.java#L284

Added line #L284 was not covered by tests

Check warning on line 287 in server/src/main/java/org/opensearch/gateway/TransportNodesListGatewayStartedShardsBatch.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/gateway/TransportNodesListGatewayStartedShardsBatch.java#L286-L287

Added lines #L286 - L287 were not covered by tests

Check warning on line 289 in server/src/main/java/org/opensearch/gateway/TransportNodesListGatewayStartedShardsBatch.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/gateway/TransportNodesListGatewayStartedShardsBatch.java#L289

Added line #L289 was not covered by tests

Check warning on line 291 in server/src/main/java/org/opensearch/gateway/TransportNodesListGatewayStartedShardsBatch.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/gateway/TransportNodesListGatewayStartedShardsBatch.java#L291

Added line #L291 was not covered by tests

Check warning on line 52 in server/src/main/java/org/opensearch/indices/store/ShardAttributes.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/indices/store/ShardAttributes.java#L52

Added line #L52 was not covered by tests