Skip to content

Enable S3 multipart upload (in non-direct upload)#12358

Open
janvanmansum wants to merge 2 commits intoIQSS:developfrom
janvanmansum:enable-multipart-upload
Open

Enable S3 multipart upload (in non-direct upload)#12358
janvanmansum wants to merge 2 commits intoIQSS:developfrom
janvanmansum:enable-multipart-upload

Conversation

@janvanmansum
Copy link
Copy Markdown
Contributor

@janvanmansum janvanmansum commented Apr 24, 2026

What this PR does / why we need it:
This PR re-enables multipart upload for non-direct uploads for S3-compatible storage. At some point between 6.7.1 and 6.9 the default changed from enabled to disabled. This PR explicitly enables it when creating the S3AsyncClient. It will only be used when necessary anyway.

Without this change, an upload of a file larger than 1G using a storage driver that does not support direct upload, the upload fails silently when clicking Save on the confirmation screen. So the file is uploaded to the Dataverse server, but then uploading it from there to the object store fails, without any error message to the user.

Which issue(s) this PR closes:
N/a

Special notes for your reviewer:
N/a

Suggestions on how to test this:
Perform an upload of a file larger than 1G, which will require the client to use multipart upload.

Does this PR introduce a user interface change? If mockups are available, please link/include them here:
No

Is there a release notes update needed for this change?:
See: doc/release-notes/12358-enable-s3-multipart-upload.md

Additional documentation:
No

@janvanmansum janvanmansum marked this pull request as ready for review April 24, 2026 08:20
@janvanmansum janvanmansum changed the title Enable multipart upload Enable S3 multipart upload Apr 24, 2026
@janvanmansum janvanmansum changed the title Enable S3 multipart upload Enable S3 multipart upload (in non-direct upload) Apr 24, 2026
@qqmyers qqmyers added the GDCC: DANS related to GDCC work for DANS label Apr 24, 2026
@qqmyers qqmyers moved this to Ready for Triage in IQSS Dataverse Project Apr 24, 2026
@qqmyers qqmyers added this to the 6.11 milestone Apr 24, 2026
Copy link
Copy Markdown
Member

@qqmyers qqmyers left a comment

Choose a reason for hiding this comment

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

makes sense - thanks for the PR

@github-project-automation github-project-automation Bot moved this from Ready for Triage to Ready for QA ⏩ in IQSS Dataverse Project Apr 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

GDCC: DANS related to GDCC work for DANS

Projects

Status: Ready for QA ⏩

Development

Successfully merging this pull request may close these issues.

2 participants