fix(local): allow out-of-order chunk writes in Put (#3157)
The local driver rejected any chunk whose offset exceeded the current file size, which assumed sequential arrival. With chunk_concurrency > 1 later chunks routinely land before earlier ones finish, so parallel uploads to local storage failed with "size of unfinished uploaded chunks is not as expected" while single-chunk concurrency worked. Positioned writes are safe with per-request file descriptors; the assembled file size is now verified in CompleteUpload so a missing or lost range still fails loudly instead of silently corrupting the blob. Authored By: TDvorak <info@tdvorak.dev> Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>pull/3582/head
parent
93e11533c0
commit
6f23834b87
Loading…
Reference in new issue