Skip to content

Conversation

@ivandika3
Copy link
Contributor

@ivandika3 ivandika3 commented Jul 22, 2025

What changes were proposed in this pull request?

HDDS-7258 handles the cleanup of allocated but uncommitted blocks. However, it only handles non MPU key. We should handle this case in S3MultipartUploadCommitPartRequest as well to support multipart upload keys.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-12061

How was this patch tested?

Unit tests.

Clean CI: https://github.com/ivandika3/ozone/actions/runs/16437885915

@ivandika3 ivandika3 marked this pull request as ready for review July 22, 2025 13:21
@ivandika3 ivandika3 requested a review from sumitagrawl July 22, 2025 13:22
@ivandika3 ivandika3 self-assigned this Jul 23, 2025
Copy link
Contributor

@ermahesh ermahesh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall LGTM!

Copy link
Member

@peterxcli peterxcli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ivandika3 for this fix and adding comprehensive tests. Left one minor comment, PTAL, other LGTM.

@ivandika3 ivandika3 requested a review from szetszwo August 1, 2025 04:02
Copy link
Contributor

@szetszwo szetszwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ivandika3 , thanks for working on this! The change looks good. Just have a minor comment inlined.

Copy link
Contributor

@szetszwo szetszwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 the change looks good.

@ivandika3 ivandika3 merged commit 4d360f4 into apache:master Aug 3, 2025
42 checks passed
@ivandika3
Copy link
Contributor Author

Thanks @ermahesh @peterxcli @szetszwo for the reviews.

@ivandika3 ivandika3 deleted the HDDS-12061 branch August 13, 2025 06:38
swamirishi pushed a commit to swamirishi/ozone that referenced this pull request Dec 3, 2025
…for multipart upload (apache#8848)

(cherry picked from commit 4d360f4)

 Conflicts:
	hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/s3/multipart/S3MultipartUploadCommitPartRequest.java
	hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/s3/multipart/S3MultipartUploadCommitPartRequestWithFSO.java
	hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/response/s3/multipart/S3MultipartUploadCommitPartResponse.java
	hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/response/s3/multipart/S3MultipartUploadCommitPartResponseWithFSO.java
	hadoop-ozone/ozone-manager/src/test/java/org/apache/hadoop/ozone/om/request/OMRequestTestUtils.java
	hadoop-ozone/ozone-manager/src/test/java/org/apache/hadoop/ozone/om/request/key/TestOMKeyCommitRequest.java
	hadoop-ozone/ozone-manager/src/test/java/org/apache/hadoop/ozone/om/request/s3/multipart/TestS3MultipartRequest.java
	hadoop-ozone/ozone-manager/src/test/java/org/apache/hadoop/ozone/om/request/s3/multipart/TestS3MultipartUploadCommitPartRequest.java
	hadoop-ozone/ozone-manager/src/test/java/org/apache/hadoop/ozone/om/response/s3/multipart/TestS3MultipartResponse.java

Change-Id: I7ad09aac402a6180d7f43df6b9684bb47934e0fb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants