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] [Segment Replication] Clean up SegmentReplicationTargetService only hold the state of last completed replications #11081

Merged
merged 1 commit into from
Nov 5, 2023

Refactor SegmentReplicationTargetService to only hold completed targe…

256020e
Select commit
Loading
Failed to load commit list.
Merged

[Backport 2.x] [Segment Replication] Clean up SegmentReplicationTargetService only hold the state of last completed replications #11081

Refactor SegmentReplicationTargetService to only hold completed targe…
256020e
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Nov 3, 2023 in 0s

69.48% of diff hit (target 70.86%)

View this Pull Request on Codecov

69.48% of diff hit (target 70.86%)

Annotations

Check warning on line 297 in server/src/main/java/org/opensearch/extensions/rest/ExtensionRestRequest.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/extensions/rest/ExtensionRestRequest.java#L297

Added line #L297 was not covered by tests

Check warning on line 249 in server/src/main/java/org/opensearch/extensions/rest/RestSendToExtensionAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/extensions/rest/RestSendToExtensionAction.java#L247-L249

Added lines #L247 - L249 were not covered by tests

Check warning on line 264 in server/src/main/java/org/opensearch/extensions/rest/RestSendToExtensionAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/extensions/rest/RestSendToExtensionAction.java#L264

Added line #L264 was not covered by tests

Check warning on line 58 in server/src/main/java/org/opensearch/identity/tokens/BasicAuthToken.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/identity/tokens/BasicAuthToken.java#L58

Added line #L58 was not covered by tests

Check warning on line 44 in server/src/main/java/org/opensearch/identity/tokens/OnBehalfOfClaims.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/identity/tokens/OnBehalfOfClaims.java#L44

Added line #L44 was not covered by tests

Check warning on line 423 in server/src/main/java/org/opensearch/index/mapper/KeywordFieldMapper.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/mapper/KeywordFieldMapper.java#L423

Added line #L423 was not covered by tests

Check warning on line 425 in server/src/main/java/org/opensearch/index/mapper/KeywordFieldMapper.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/mapper/KeywordFieldMapper.java#L425

Added line #L425 was not covered by tests

Check warning on line 439 in server/src/main/java/org/opensearch/index/mapper/KeywordFieldMapper.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/mapper/KeywordFieldMapper.java#L438-L439

Added lines #L438 - L439 were not covered by tests

Check warning on line 443 in server/src/main/java/org/opensearch/index/mapper/KeywordFieldMapper.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/mapper/KeywordFieldMapper.java#L443

Added line #L443 was not covered by tests

Check warning on line 445 in server/src/main/java/org/opensearch/index/mapper/KeywordFieldMapper.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/mapper/KeywordFieldMapper.java#L445

Added line #L445 was not covered by tests

Check warning on line 548 in server/src/main/java/org/opensearch/index/mapper/KeywordFieldMapper.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/mapper/KeywordFieldMapper.java#L547-L548

Added lines #L547 - L548 were not covered by tests

Check warning on line 553 in server/src/main/java/org/opensearch/index/mapper/KeywordFieldMapper.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/mapper/KeywordFieldMapper.java#L552-L553

Added lines #L552 - L553 were not covered by tests

Check warning on line 562 in server/src/main/java/org/opensearch/index/mapper/KeywordFieldMapper.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/mapper/KeywordFieldMapper.java#L562

Added line #L562 was not covered by tests

Check warning on line 574 in server/src/main/java/org/opensearch/index/mapper/KeywordFieldMapper.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/mapper/KeywordFieldMapper.java#L574

Added line #L574 was not covered by tests

Check warning on line 603 in server/src/main/java/org/opensearch/index/mapper/KeywordFieldMapper.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/mapper/KeywordFieldMapper.java#L603

Added line #L603 was not covered by tests

Check warning on line 283 in server/src/main/java/org/opensearch/index/mapper/MappedFieldType.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/mapper/MappedFieldType.java#L282-L283

Added lines #L282 - L283 were not covered by tests

Check warning on line 195 in server/src/main/java/org/opensearch/indices/replication/SegmentReplicationTargetService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/indices/replication/SegmentReplicationTargetService.java#L195

Added line #L195 was not covered by tests

Check warning on line 505 in server/src/main/java/org/opensearch/node/Node.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/node/Node.java#L505

Added line #L505 was not covered by tests

Check warning on line 109 in server/src/main/java/org/opensearch/search/fetch/subphase/highlight/CustomQueryScorer.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/search/fetch/subphase/highlight/CustomQueryScorer.java#L109

Added line #L109 was not covered by tests