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 support to create empty local translog if remote translog is empty #10854

Closed

Change to forceAllocate

2e3fbfd
Select commit
Loading
Failed to load commit list.
Closed

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

Change to forceAllocate
2e3fbfd
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Feb 8, 2024 in 1s

29.54% of diff hit (target 71.25%)

View this Pull Request on Codecov

29.54% 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 410 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#L410

Added line #L410 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

Check warning on line 698 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#L698

Added line #L698 was not covered by tests

Check warning on line 48 in server/src/main/java/org/opensearch/rest/action/admin/cluster/RestRestoreRemoteStoreAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/rest/action/admin/cluster/RestRestoreRemoteStoreAction.java#L48

Added line #L48 was not covered by tests