symious commented on code in PR #5020:
URL: https://github.com/apache/ozone/pull/5020#discussion_r1384567956


##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/protocolPB/OzoneManagerProtocolServerSideTranslatorPB.java:
##########
@@ -296,7 +320,10 @@ private OMResponse submitRequestDirectlyToOM(OMRequest 
request) {
       ExitUtils.terminate(1, errorMessage, ex, LOG);
       Thread.currentThread().interrupt();
     }
-    return omClientResponse.getOMResponse();
+    OMLockDetails omLockDetails = omClientResponse.getOmLockDetails();

Review Comment:
   Should be that Hadoop RPC can retrieve the lock time for read operations, so 
only write requests are handled here.



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