Skip to content

Add support to create empty local translog if remote translog is empty

Codecov / codecov/patch failed Oct 24, 2023 in 0s

28.20% of diff hit (target 71.25%)

View this Pull Request on Codecov

28.20% of diff hit (target 71.25%)

Annotations

Check warning on line 162 in server/src/main/java/org/opensearch/action/admin/cluster/remotestore/restore/RestoreRemoteStoreRequest.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/admin/cluster/remotestore/restore/RestoreRemoteStoreRequest.java#L161-L162

Added lines #L161 - L162 were not covered by tests

Check warning on line 171 in server/src/main/java/org/opensearch/action/admin/cluster/remotestore/restore/RestoreRemoteStoreRequest.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/admin/cluster/remotestore/restore/RestoreRemoteStoreRequest.java#L171

Added line #L171 was not covered by tests

Check warning on line 442 in server/src/main/java/org/opensearch/cluster/routing/RecoverySource.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/cluster/routing/RecoverySource.java#L442

Added line #L442 was not covered by tests

Check warning on line 465 in server/src/main/java/org/opensearch/cluster/routing/RecoverySource.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/cluster/routing/RecoverySource.java#L465

Added line #L465 was not covered by tests

Check warning on line 488 in server/src/main/java/org/opensearch/cluster/routing/RecoverySource.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/cluster/routing/RecoverySource.java#L485-L488

Added lines #L485 - L488 were not covered by tests

Check warning on line 514 in server/src/main/java/org/opensearch/cluster/routing/RecoverySource.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/cluster/routing/RecoverySource.java#L514

Added line #L514 was not covered by tests

Check warning on line 102 in server/src/main/java/org/opensearch/index/recovery/RemoteStoreRestoreService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/recovery/RemoteStoreRestoreService.java#L102

Added line #L102 was not covered by tests

Check warning on line 107 in server/src/main/java/org/opensearch/index/recovery/RemoteStoreRestoreService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/recovery/RemoteStoreRestoreService.java#L105-L107

Added lines #L105 - L107 were not covered by tests

Check warning on line 186 in server/src/main/java/org/opensearch/index/recovery/RemoteStoreRestoreService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/recovery/RemoteStoreRestoreService.java#L186

Added line #L186 was not covered by tests

Check warning on line 558 in server/src/main/java/org/opensearch/index/shard/StoreRecovery.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/shard/StoreRecovery.java#L558

Added line #L558 was not covered by tests