File tree 1 file changed +10
-0
lines changed
server/src/main/java/org/opensearch/common/blobstore
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 9
9
package org .opensearch .common .blobstore ;
10
10
11
11
import org .opensearch .cluster .metadata .CryptoMetadata ;
12
+ import org .opensearch .cluster .metadata .RepositoryMetadata ;
12
13
import org .opensearch .common .crypto .CryptoHandler ;
13
14
import org .opensearch .crypto .CryptoHandlerRegistry ;
14
15
import org .opensearch .crypto .CryptoRegistryException ;
@@ -65,6 +66,15 @@ public BlobContainer blobContainer(BlobPath path) {
65
66
return new EncryptedBlobContainer <>(blobContainer , cryptoHandler );
66
67
}
67
68
69
+ /**
70
+ * Reoload blobstore metadata
71
+ * @param repositoryMetadata new repository metadata
72
+ */
73
+ @ Override
74
+ public void reload (RepositoryMetadata repositoryMetadata ) {
75
+ blobStore .reload (repositoryMetadata );
76
+ }
77
+
68
78
/**
69
79
* Retrieves statistics about the BlobStore. Delegates the call to the underlying BlobStore's stats() method.
70
80
*
You can’t perform that action at this time.
0 commit comments