Skip to content

Commit

Permalink
Enable v2 s3 proxy by default
Browse files Browse the repository at this point in the history
### What changes are proposed in this pull request?

Enable v2 s3 proxy by default.

### Why are the changes needed?

### Does this PR introduce any user facing changes?

s3 api will go thru v2 proxy service now.

pr-link: #16937
change-id: cid-fd406105d77cadcebc7acb29c1d250215985e1ab
  • Loading branch information
lucyge2022 committed Mar 6, 2023
1 parent 201672f commit 7f2f15a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/common/src/main/java/alluxio/conf/PropertyKey.java
Expand Up @@ -5210,8 +5210,8 @@ public String toString() {
.build();
public static final PropertyKey PROXY_S3_MULTIPART_UPLOAD_CLEANER_ENABLED =
booleanBuilder(Name.PROXY_S3_MULTIPART_UPLOAD_CLEANER_ENABLED)
.setDefaultValue(true)
.setDescription("Whether or not to enable automatic cleanup of long-running "
.setDefaultValue(false)
.setDescription("Enable automatic cleanup of long-running "
+ "multipart uploads.")
.setConsistencyCheckLevel(ConsistencyCheckLevel.ENFORCE)
.setScope(Scope.SERVER)
Expand Down Expand Up @@ -5308,7 +5308,7 @@ public String toString() {
.build();
public static final PropertyKey PROXY_S3_V2_VERSION_ENABLED =
booleanBuilder(Name.PROXY_S3_V2_VERSION_ENABLED)
.setDefaultValue(false)
.setDefaultValue(true)
.setDescription("(Experimental) V2, an optimized version of "
+ "Alluxio s3 proxy service.")
.setConsistencyCheckLevel(ConsistencyCheckLevel.ENFORCE)
Expand Down
Expand Up @@ -816,6 +816,7 @@ public Response continueTask() {
.setGroupBits(Bits.ALL)
.setOtherBits(Bits.NONE).build())
.setWriteType(S3RestUtils.getS3WriteType())
.setOverwrite(true)
.build();
return createObject(objectPath, userFs, filePOptions, auditContext);
}
Expand Down

0 comments on commit 7f2f15a

Please sign in to comment.