-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Fix bug where async-streaming prevented a meta-request from doing ANY parallelism 😅. - We accidentally limited "number of parts in flight" when we meant to limit "number of parts pending read" - Reduce gap between sequential reads by running client->update() as soon as the read completes, rather than waiting until after signing is complete. - Rename ~num_parts_sent~ -> `num_parts_started`, for clarity - Rename (rework) ~num_parts_read~ -> `num_parts_pending_read`. - Note this slightly changes the meaning as well, this number goes up and down, and it's never more than 1 for async-streaming. - This fixes a bug when resuming an upload. We'd forgot to increment the old `num_parts_read` along with `num_parts_started` and `num_parts_completed` which threw off the math and lead to the upload stalling. It seemed simpler and more obvious to just track the number we care about, rather than have so many different numbers ticking up, from many different locations, and their meaning is weird when skipping is involved. - If a stream-reading failure occurs during "resume from pause", reveal the actual error code. Stop covering it with AWS_ERROR_S3_RESUME_FAILED.
- Loading branch information
Showing
5 changed files
with
60 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters