Skip to content

Replace faulty chunk counting logic#391

Merged
jared-paperspace merged 1 commit intomasterfrom
unknown repository
Aug 15, 2022
Merged

Replace faulty chunk counting logic#391
jared-paperspace merged 1 commit intomasterfrom
unknown repository

Conversation

@ghost
Copy link

@ghost ghost commented Aug 15, 2022

PR #384 for allowing multipart uploads introduced a bug that prevents datasets from being uploaded that contain files that are multiples of 500Mb. This became more of an issue with #389 which changes the chunk sizes to 15Mb, meaning that any file that is a multiple of 15Mb (75Mb in my case) will cause the dataset to fail to upload.

What I believe is happening is that because we faulty logic instructs us to read an additional block of data from the filesystem that doesn't exist. How this appears in my experience is that the CLI hangs indefinitely, or in a Workflow it crashes.

@jared-paperspace jared-paperspace merged commit 9eb645e into Paperspace:master Aug 15, 2022
@PSBOT
Copy link

PSBOT commented Aug 15, 2022

🎉 This PR is included in version 2.0.6 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@PSBOT PSBOT added the released label Aug 15, 2022
@jared-paperspace
Copy link
Contributor

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants