errose28 commented on code in PR #9723:
URL: https://github.com/apache/ozone/pull/9723#discussion_r2819569742
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/helpers/OMAuditLogger.java:
##########
@@ -89,8 +89,6 @@ private static void init() {
CMD_AUDIT_ACTION_MAP.put(Type.AbortExpiredMultiPartUploads,
OMAction.ABORT_EXPIRED_MULTIPART_UPLOAD);
CMD_AUDIT_ACTION_MAP.put(Type.SetVolumeProperty, OMAction.SET_OWNER);
CMD_AUDIT_ACTION_MAP.put(Type.SetBucketProperty, OMAction.UPDATE_BUCKET);
- CMD_AUDIT_ACTION_MAP.put(Type.Prepare, OMAction.UPGRADE_PREPARE);
- CMD_AUDIT_ACTION_MAP.put(Type.CancelPrepare, OMAction.UPGRADE_CANCEL);
Review Comment:
@octachoron I did actually remove the audit logging for prepare here since
it became a no-op write request. Although as you suggested, it would probably
still be good to leave the admin check on the server side for coompleteness.
--
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]