symious commented on code in PR #5020:
URL: https://github.com/apache/ozone/pull/5020#discussion_r1397550441
##########
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:
Just realized non-ratis's processing time has already been set in
"https://github.com/symious/ozone/blob/HDDS-8974/hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/lock/OzoneManagerLock.java#L616",
so removed the logics in `submitRequestDirectlyToOM`. PTAL.
--
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]