Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-9679

Add Multipart Upload ID into the audit logs

    XMLWordPrintableJSON

Details

    Description

      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 used to trace the status of a single MPU (which has a unique upload ID)

      This can be done by including the upload ID (keyArgs#getMultipartUploadID) in the audit map.

      Attachments

        Issue Links

          Activity

            People

              SaketaChalamchala Saketa Chalamchala
              ivanandika Ivan Andika
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: