SaketaChalamchala opened a new pull request, #6677: URL: https://github.com/apache/ozone/pull/6677
## What changes were proposed in this pull request? Multipart UploadID is not written to S3 MPU requests. Since, the same multipart key can be created with multiple uploadIDs added the multipart UploadID info to the audits. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-9679 ## How was this patch tested? Manually tested multipart commands using `aws s3api` ``` 2024-05-14 00:33:50,810 | INFO | S3GAudit | user=unsecure | ip=172.19.0.3 | op=INIT_MULTIPART_UPLOAD {bucket=[testbucket], path=[large_test_file1], uploads=[]} | ret=SUCCESS | 2024-05-14 00:34:36,473 | INFO | S3GAudit | user=unsecure | ip=172.19.0.3 | op=CREATE_MULTIPART_KEY {bucket=[testbucket], path=[large_test_file1], uploadId=[57bc370c-e8c5-4a24-b7ec-2a1e4b3a240f-112436630703439875], partNumber=[1]} | ret=SUCCESS | perf={streamMode=true, metaLatencyMs=29, sizeByte=5242880, opLatencyMs=793} | 2024-05-14 00:34:49,372 | INFO | S3GAudit | user=unsecure | ip=172.19.0.3 | op=CREATE_MULTIPART_KEY {bucket=[testbucket], path=[large_test_file1], uploadId=[57bc370c-e8c5-4a24-b7ec-2a1e4b3a240f-112436630703439875], partNumber=[2]} | ret=SUCCESS | perf={streamMode=true, metaLatencyMs=9, sizeByte=5242880, opLatencyMs=376} | 2024-05-14 00:36:03,031 | INFO | S3GAudit | user=unsecure | ip=172.19.0.3 | op=LIST_PARTS {bucket=[testbucket], path=[large_test_file1], uploadId=[57bc370c-e8c5-4a24-b7ec-2a1e4b3a240f-112436630703439875]} | ret=SUCCESS | perf={count=2, opLatencyMs=19} | 2024-05-14 00:37:09,408 | INFO | S3GAudit | user=unsecure | ip=172.19.0.3 | op=COMPLETE_MULTIPART_UPLOAD {bucket=[testbucket], path=[large_test_file1], uploadId=[57bc370c-e8c5-4a24-b7ec-2a1e4b3a240f-112436630703439875]} | ret=SUCCESS | ``` -- 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]
