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

@tus/s3-store incompatibility with R2 #632

Open
elliotdickison opened this issue Jul 1, 2024 · 1 comment
Open

@tus/s3-store incompatibility with R2 #632

elliotdickison opened this issue Jul 1, 2024 · 1 comment

Comments

@elliotdickison
Copy link

elliotdickison commented Jul 1, 2024

R2 has a non-standard requirement that all non-trailing parts of a multi-part upload be exactly the same size. With @tus/[email protected] and @tus/[email protected] get the occasional error InvalidPart: All non-trailing parts must have the same length. from R2 and the multi-part upload fails.

This is definitely a shortcoming with R2 and not a bug with @tus/s3-store, but we're trying to work around the issue anyhow. Any ideas why @tus/s3-store might generate parts of varying sizes (not counting the final trailing part)?

Thanks!

@Acconut
Copy link
Member

Acconut commented Jul 1, 2024

Similar issue was opened for tusd recently: tus/tusd#1137 My comment there also includes a tusd-specific solution, whose.cincept might be reusable for tus-node-server.

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

No branches or pull requests

2 participants