smengcl commented on code in PR #3397:
URL: https://github.com/apache/ozone/pull/3397#discussion_r870779720
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OzoneManager.java:
##########
@@ -3125,6 +3203,8 @@ public S3VolumeContext getS3VolumeContext() throws
IOException {
multiTenantManager.getTenantForAccessID(accessId);
if (optionalTenantId.isPresent()) {
+ // To block all S3 multi-tenancy requests if disabled
Review Comment:
Yes. Non-S3 requests like RPC (`ozone sh`) or HCFS (ofs/o3fs) ones should
not even go through the `getS3VolumeContext()` call.
--
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]