Skip to content

Conversation

@assafvayner
Copy link
Collaborator

@assafvayner assafvayner commented Sep 10, 2025

We need to create a fresh Chunker object for each file we process to avoid the last bytes from the previous file to impact the hash used to generate chunk boundaries.

This gets ride of the try {} finally {chunker.free()} at the end of file processing so this causes a lot of code to be de-indented, changes are pretty minimal.

@coyotte508 coyotte508 force-pushed the assaf/recreate-chunker-at-end-of-file-processing-xet-upload branch from 352086b to 8e66774 Compare September 10, 2025 09:37
@coyotte508 coyotte508 merged commit 2e1ed11 into main Sep 10, 2025
4 of 5 checks passed
@coyotte508 coyotte508 deleted the assaf/recreate-chunker-at-end-of-file-processing-xet-upload branch September 10, 2025 18:27
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.

3 participants