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

Remotes: AWS: Fix a bug where uploading tables files to S3 could have unbounded memory usage. #6883

Merged
merged 3 commits into from
Oct 26, 2023

Conversation

reltuk
Copy link
Contributor

@reltuk reltuk commented Oct 25, 2023

No description provided.

…ader instead of hand rolled multipart upload.

s3manager.Uploader gets us pooled byte slices, sane sizing and concurrency
limits, optimizations to use io.ReadSeeker when it's available, etc.

Fixes a bug where aws_table_persister could have unbounded memory usage,
proportional to the size of the file, when uploading large table files to S3.
@reltuk reltuk requested a review from fulghum October 25, 2023 23:31
Copy link
Contributor

@fulghum fulghum left a comment

Choose a reason for hiding this comment

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

Looks great! 🚢

@reltuk reltuk merged commit 9c6c976 into main Oct 26, 2023
@Hydrocharged Hydrocharged deleted the aaron/aws-table-persister-uses-s3manager branch February 7, 2024 13:42
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.

2 participants