Skip to content

Commit

Permalink
Changing aws-crt version
Browse files Browse the repository at this point in the history
  • Loading branch information
Himshikha Gupta committed May 23, 2024
1 parent 1daa6ba commit dde7f11
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion plugins/repository-s3/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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}"


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,8 @@ public CheckedRunnable<IOException> 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<ClusterMetadataManifest.UploadedIndexMetadata> writeIncrementalRoutingTable(
Expand Down

0 comments on commit dde7f11

Please sign in to comment.