diff --git a/plugins/repository-s3/build.gradle b/plugins/repository-s3/build.gradle index 89cbe1cd0ff7a..ff2fc85e9f5ef 100644 --- a/plugins/repository-s3/build.gradle +++ b/plugins/repository-s3/build.gradle @@ -70,7 +70,7 @@ dependencies { api "software.amazon.awssdk:sts:${versions.aws}" api "software.amazon.awssdk:netty-nio-client:${versions.aws}" api "software.amazon.awssdk:aws-crt-client:${versions.aws}" - api "software.amazon.awssdk.crt:aws-crt:0.21.16" + api "software.amazon.awssdk.crt:aws-crt:0.29.19" api "software.amazon.awssdk:crt-core:${versions.aws}" diff --git a/server/src/main/java/org/opensearch/cluster/routing/remote/RemoteRoutingTableService.java b/server/src/main/java/org/opensearch/cluster/routing/remote/RemoteRoutingTableService.java index e6b2dcaca316c..2ff901cfd08ee 100644 --- a/server/src/main/java/org/opensearch/cluster/routing/remote/RemoteRoutingTableService.java +++ b/server/src/main/java/org/opensearch/cluster/routing/remote/RemoteRoutingTableService.java @@ -211,8 +211,8 @@ public CheckedRunnable getIndexRoutingAsyncAction( InputStream indexRoutingStream = new IndexRoutingTableInputStream(indexRouting); logger.info("Going to upload {}", indexRouting.prettyPrint()); - //return () -> ((AsyncMultiStreamBlobContainer) blobContainer).asyncStreamUpload(fileName, indexRoutingStream, completionListener); - return () -> ((AsyncMultiStreamBlobContainer) blobContainer).asyncWriteBlob(fileName, indexRoutingStream, false, null, WritePriority.URGENT, completionListener ); + return () -> ((AsyncMultiStreamBlobContainer) blobContainer).asyncStreamUpload(fileName, indexRoutingStream, completionListener); + //return () -> ((AsyncMultiStreamBlobContainer) blobContainer).asyncWriteBlob(fileName, indexRoutingStream, false, null, WritePriority.URGENT, completionListener ); } public List writeIncrementalRoutingTable(