errose28 commented on code in PR #11789:
URL: https://github.com/apache/ozone/pull/11789#discussion_r4447760632


##########
hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/rpc/RpcClient.java:
##########
@@ -284,6 +302,7 @@ public RpcClient(ConfigurationSource conf, String 
omServiceId)
     dtService = omTransport.getDelegationTokenService();
     ServiceInfoEx serviceInfoEx = ozoneManagerClient.getServiceInfo();
     omVersion = getOmVersion(serviceInfoEx);
+    omVersionLastUpdate.set(clock.millis());
     resolveS3VolumeOnOm = conf.getBoolean(S3Auth.S3_AUTH_CHECK, false)
         && OzoneManagerVersion.S3_VOLUME_CONTEXT_RESOLUTION
             .isSupportedBy(omVersion);

Review Comment:
   Looks like this new version check came in from master. It needs to be 
refactored to pull the version on demand in `getObjectTagging` in accordance 
with this change.



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