Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix(core): S3 multipart uploads does not set file metadata #5430

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

catcatmu
Copy link
Contributor

@catcatmu catcatmu commented Dec 18, 2024

Which issue does this PR close?

Closes #5429

Rationale for this change

This change sets the required headers to set the user_metadata fields when performing a multipart S3 upload

What changes are included in this PR?

Setting the user_meta by adding the required headers. Code is identical to the one in s3_put_object_request

Are there any user-facing changes?

No - However there may be behavior changes.

Testing:

Only on S3

@catcatmu catcatmu requested a review from Xuanwo as a code owner December 18, 2024 23:50
@tisonkun tisonkun changed the title Fixed: S3 multipart uploads does not set file metadata fix: S3 multipart uploads does not set file metadata Dec 19, 2024
Copy link
Member

@tisonkun tisonkun 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 your contribution! LGTM.

@Xuanwo Xuanwo changed the title fix: S3 multipart uploads does not set file metadata fix(core): S3 multipart uploads does not set file metadata Dec 19, 2024
Copy link
Member

@Xuanwo Xuanwo left a comment

Choose a reason for hiding this comment

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

Thank you @catcatmu for working on this, and thank you @tisonkun for the review!

@Xuanwo Xuanwo merged commit f0ace56 into apache:main Dec 19, 2024
99 checks passed
@catcatmu catcatmu deleted the fix-s3-multipart-metadata branch December 19, 2024 17:56
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: S3 User Metadata not set for multi part uploads
3 participants