chungen0126 commented on code in PR #11479:
URL: https://github.com/apache/ozone/pull/11479#discussion_r4431101785


##########
hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/rpc/RpcClient.java:
##########
@@ -3162,7 +3172,7 @@ public Map<String, String> getObjectTagging(
       throw new IOException("OzoneManager does not support S3 object tagging 
API");
     }
 
-    boolean assumeS3Context = volumeName == null && resolveS3VolumeOnOm;
+    boolean assumeS3Context = volumeName == null;

Review Comment:
   The version check is already handled on the `S3ClientProtocol` side before 
calling this method. It checks whether the OM supports it via 
`resolveVolumeName` and falls back if needed.



-- 
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]

Reply via email to