chungen0126 commented on code in PR #12233:
URL: https://github.com/apache/ozone/pull/12233#discussion_r4796084979
##########
hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/rpc/RpcClient.java:
##########
@@ -3244,6 +3245,25 @@ public Map<String, String> getObjectTagging(String
volumeName, String bucketName
return ozoneManagerClient.getObjectTagging(keyArgs);
}
+ @Override
+ public ObjectRetention getObjectRetention(String volumeName, String
bucketName, String keyName) throws IOException {
+ boolean assumeS3Context = volumeName == null
+ &&
OzoneManagerVersion.S3_VOLUME_CONTEXT_RESOLUTION.isSupportedBy(getOmVersion());
Review Comment:
We don't check `S3_VOLUME_CONTEXT_RESOLUTION`. We need to add a new
omVersion to reject worm apis instead.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]