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

S3Store: Fix data inconsistency bug when using Upload-Defer-Length #462

Merged
merged 1 commit into from
Mar 11, 2021

Conversation

acj
Copy link
Contributor

@acj acj commented Mar 11, 2021

Fixes #396, which has a rich discussion of the bug. There is a subtle interaction between UnroutedHandler and S3Store when using deferred length. The result is that the last chunk of an upload, if it's less than 5MB, is ignored.

Copy link
Member

@Acconut Acconut left a comment

Choose a reason for hiding this comment

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

Looks good, thank you!

@Acconut Acconut merged commit e85d630 into tus:master Mar 11, 2021
@acj acj deleted the fix-s3-part-inclusion-bug branch March 11, 2021 19:03
ChrisNapthine pushed a commit to ChrisNapthine/tusd that referenced this pull request Mar 30, 2021
* commit '8031aabb7ed5eb9896ac33edf3439c5bcaa9a3bf':
  cli: Add flag to disable SSL for S3
  ci: Compile tusd for arm64 (tus#461)
  s3store: Fix data loss when using deferred upload lengths (tus#462)
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.

When using deferred length with S3 compatible service, last part of multi-upload is ignored
2 participants