Skip to content

Conversation

@ashishkumar50
Copy link
Contributor

What changes were proposed in this pull request?

Allow removing entry from multipartInfoTable even though if key doesn't exist in openKey/File table during abort operation.

What is the link to the Apache JIRA

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

How was this patch tested?

Unit test

Copy link
Contributor

@ivandika3 ivandika3 left a comment

Choose a reason for hiding this comment

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

Thanks @ashishkumar50 for the fix, overall LGTM. Left one comment.

Copy link
Contributor

@ivandika3 ivandika3 left a comment

Choose a reason for hiding this comment

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

Thanks for the update. LGTM +1.


if (multipartKeyInfo == null) {
throw new OMException("Abort Multipart Upload Failed: volume: " +
requestedVolume + "bucket: " + requestedBucket + "key: " + keyName,
Copy link
Contributor

Choose a reason for hiding this comment

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

Not introduced in this patch, but not worth a separate PR either:

Suggested change
requestedVolume + "bucket: " + requestedBucket + "key: " + keyName,
requestedVolume + " bucket: " + requestedBucket + " key: " + keyName,

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated

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