diff --git a/plugins/repository-s3/src/main/java/org/opensearch/repositories/s3/S3Repository.java b/plugins/repository-s3/src/main/java/org/opensearch/repositories/s3/S3Repository.java index 0e311c9419b24..b944bd8bf6260 100644 --- a/plugins/repository-s3/src/main/java/org/opensearch/repositories/s3/S3Repository.java +++ b/plugins/repository-s3/src/main/java/org/opensearch/repositories/s3/S3Repository.java @@ -460,9 +460,8 @@ public void reload(RepositoryMetadata newRepositoryMetadata) { readRepositoryMetadata(); // Reload configs for S3RepositoryPlugin - final Map clientsSettings = S3ClientSettings.load(metadata.settings(), pluginConfigPath); - service.refreshAndClearCache(clientsSettings); - s3AsyncService.refreshAndClearCache(clientsSettings); + service.settings(metadata); + s3AsyncService.settings(metadata); // Reload configs for S3BlobStore BlobStore blobStore = getBlobStore();