sadanand48 commented on code in PR #6949:
URL: https://github.com/apache/ozone/pull/6949#discussion_r1692562970


##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/protocolPB/OzoneManagerProtocolServerSideTranslatorPB.java:
##########
@@ -218,6 +219,7 @@ private OMResponse internalProcessRequest(OMRequest 
request) throws
         this.lastRequestToSubmit = requestToSubmit;
       } catch (IOException ex) {
         if (omClientRequest != null) {
+          OMAuditLogger.log(omClientRequest.getAuditBuilder());

Review Comment:
   For the preExecute case, markForAudit has not been called so the setLog 
would be set to true and this wouldn't write anything to audit log.
   `if (builder.isLog.get()) {` this would be false always



-- 
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: issues-unsubscr...@ozone.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org
For additional commands, e-mail: issues-h...@ozone.apache.org

Reply via email to