File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
server/src/main/java/org/opensearch/repositories/blobstore Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -607,7 +607,10 @@ public void cloneRemoteStoreIndexShardSnapshot(
607607 // We don't need to check if there exists a shallow/full copy snapshot with the same name as we have the check before starting
608608 // the clone operation ensuring that the snapshot name is available by checking the repository data. Also, the new clone shallow
609609 // snapshot would have a different UUID and hence a new unique shallow-snap-N file will be created.
610- RemoteStoreShardShallowCopySnapshot remStoreBasedShardMetadata = loadShallowCopyShardSnapshot (shardContainer , source );
610+ RemoteStoreShardShallowCopySnapshot remStoreBasedShardMetadata = (RemoteStoreShardShallowCopySnapshot ) loadShardSnapshot (
611+ shardContainer ,
612+ source
613+ );
611614 String indexUUID = remStoreBasedShardMetadata .getIndexUUID ();
612615 String remoteStoreRepository = remStoreBasedShardMetadata .getRemoteStoreRepository ();
613616 RemoteStoreMetadataLockManager remoteStoreMetadataLockManger = remoteStoreLockManagerFactory .newLockManager (
You can’t perform that action at this time.
0 commit comments