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

Fix Shallow copy snapshot failures on closed index #16868

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Adding UT

b0ea945
Select commit
Loading
Failed to load commit list.
Open

Fix Shallow copy snapshot failures on closed index #16868

Adding UT
b0ea945
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Dec 19, 2024 in 1s

59.61% of diff hit (target 72.21%)

View this Pull Request on Codecov

59.61% of diff hit (target 72.21%)

Annotations

Check warning on line 1635 in server/src/main/java/org/opensearch/index/shard/IndexShard.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/shard/IndexShard.java#L1635

Added line #L1635 was not covered by tests

Check warning on line 3767 in server/src/main/java/org/opensearch/repositories/blobstore/BlobStoreRepository.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/repositories/blobstore/BlobStoreRepository.java#L3766-L3767

Added lines #L3766 - L3767 were not covered by tests

Check warning on line 3789 in server/src/main/java/org/opensearch/repositories/blobstore/BlobStoreRepository.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/repositories/blobstore/BlobStoreRepository.java#L3788-L3789

Added lines #L3788 - L3789 were not covered by tests

Check warning on line 420 in server/src/main/java/org/opensearch/snapshots/SnapshotShardsService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/snapshots/SnapshotShardsService.java#L420

Added line #L420 was not covered by tests

Check warning on line 423 in server/src/main/java/org/opensearch/snapshots/SnapshotShardsService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/snapshots/SnapshotShardsService.java#L422-L423

Added lines #L422 - L423 were not covered by tests

Check warning on line 426 in server/src/main/java/org/opensearch/snapshots/SnapshotShardsService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/snapshots/SnapshotShardsService.java#L425-L426

Added lines #L425 - L426 were not covered by tests

Check warning on line 429 in server/src/main/java/org/opensearch/snapshots/SnapshotShardsService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/snapshots/SnapshotShardsService.java#L428-L429

Added lines #L428 - L429 were not covered by tests

Check warning on line 435 in server/src/main/java/org/opensearch/snapshots/SnapshotShardsService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/snapshots/SnapshotShardsService.java#L431-L435

Added lines #L431 - L435 were not covered by tests