Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

libsql wal multipart upload #1766

Merged
merged 1 commit into from
Oct 2, 2024
Merged

Conversation

MarinPostma
Copy link
Contributor

@MarinPostma MarinPostma commented Oct 2, 2024

This PR implements multipart uploads instead of regular uploads for the libsql-wal segment. That is because AWS S3 refuses payloads that are not known in size.

We instead use a multipart upload, where we stream in chunks of 50MB to temporary files that we then upload as parts of the multipart upload.

@MarinPostma MarinPostma force-pushed the libsql-wal-multipart-upload branch from 870e86a to 77151c2 Compare October 2, 2024 19:25
@MarinPostma MarinPostma enabled auto-merge October 2, 2024 19:26
@MarinPostma MarinPostma added this pull request to the merge queue Oct 2, 2024
Merged via the queue into main with commit b2d59ca Oct 2, 2024
18 checks passed
@MarinPostma MarinPostma deleted the libsql-wal-multipart-upload branch October 2, 2024 20:09
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.

1 participant