Skip to content

Update Shallow Snapshot flows to support remote path type & hash algo

Codecov / codecov/patch succeeded Apr 3, 2024 in 1s

85.91% of diff hit (target 71.42%)

View this Pull Request on Codecov

85.91% of diff hit (target 71.42%)

Annotations

Check warning on line 588 in server/src/main/java/org/opensearch/cluster/metadata/MetadataCreateIndexService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/cluster/metadata/MetadataCreateIndexService.java#L588

Added line #L588 was not covered by tests

Check warning on line 20 in server/src/main/java/org/opensearch/common/hash/FNV1a.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/common/hash/FNV1a.java#L20

Added line #L20 was not covered by tests

Check warning on line 512 in server/src/main/java/org/opensearch/index/IndexService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/IndexService.java#L512

Added line #L512 was not covered by tests

Check warning on line 31 in server/src/main/java/org/opensearch/index/remote/RemoteStoreEnums.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/remote/RemoteStoreEnums.java#L31

Added line #L31 was not covered by tests

Check warning on line 109 in server/src/main/java/org/opensearch/index/remote/RemoteStoreEnums.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/remote/RemoteStoreEnums.java#L105-L109

Added lines #L105 - L109 were not covered by tests

Check warning on line 196 in server/src/main/java/org/opensearch/index/remote/RemoteStoreEnums.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/remote/RemoteStoreEnums.java#L194-L196

Added lines #L194 - L196 were not covered by tests

Check warning on line 232 in server/src/main/java/org/opensearch/index/remote/RemoteStoreEnums.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/remote/RemoteStoreEnums.java#L232

Added line #L232 was not covered by tests

Check warning on line 235 in server/src/main/java/org/opensearch/index/remote/RemoteStoreEnums.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/remote/RemoteStoreEnums.java#L235

Added line #L235 was not covered by tests

Check warning on line 54 in server/src/main/java/org/opensearch/index/remote/RemoteStorePathStrategy.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/remote/RemoteStorePathStrategy.java#L54

Added line #L54 was not covered by tests

Check warning on line 4947 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#L4947

Added line #L4947 was not covered by tests

Check warning on line 413 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#L413

Added line #L413 was not covered by tests

Check warning on line 477 in server/src/main/java/org/opensearch/index/snapshots/blobstore/RemoteStoreShardShallowCopySnapshot.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/snapshots/blobstore/RemoteStoreShardShallowCopySnapshot.java#L477

Added line #L477 was not covered by tests

Check warning on line 479 in server/src/main/java/org/opensearch/index/snapshots/blobstore/RemoteStoreShardShallowCopySnapshot.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/snapshots/blobstore/RemoteStoreShardShallowCopySnapshot.java#L479

Added line #L479 was not covered by tests

Check warning on line 674 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#L674

Added line #L674 was not covered by tests

Check warning on line 1155 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#L1155

Added line #L1155 was not covered by tests

Check warning on line 1178 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#L1178

Added line #L1178 was not covered by tests