You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Ivan Andika (Jira)" <ji...@apache.org> on 2023/11/13 02:34:00 UTC

[jira] [Created] (HDDS-9679) Add Multipart Upload ID into the audit logs

Ivan Andika created HDDS-9679:
---------------------------------

             Summary: Add Multipart Upload ID into the audit logs
                 Key: HDDS-9679
                 URL: https://issues.apache.org/jira/browse/HDDS-9679
             Project: Apache Ozone
          Issue Type: Improvement
            Reporter: Ivan Andika


In the Ozone Manager, there are requests related to Multipart Upload (MPU), they are:
 * MPU Init Request: S3InitiateMultipartUploadRequest & S3InitiateMultipartUploadRequestWithFSO
 * MPU Commit Part Request: S3MultipartUploadCommitPartRequest & S3MultipartUploadCommitPartRequestWithFSO
 * MPU Complete Request: S3MultipartUploadCompleteRequest & S3MultipartUploadCompleteRequestWithFSO
 * MPU Abort Request: S3MultipartUploadAbortRequest & S3MultipartUploadAbortRequestWithFSO

In these requests, an audit map is created using RequestAuditor#buildKeyArgsAuditMap which includes information related to general Ozone key (e.g. volume, bucket, key, data size, replication config). 

Since the same multipart key can be created using different multipart upload ID, it will be useful to add upload ID into requests related to multipart upload.

This can be done by including the uploadId in the audit map.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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