Skip to content

hotfix: use local tmpfile for padding small pieces if storage is remote/does not allow appends#597

Merged
parkan merged 3 commits into
mainfrom
hotfix/remote-smallpiece
Nov 21, 2025
Merged

hotfix: use local tmpfile for padding small pieces if storage is remote/does not allow appends#597
parkan merged 3 commits into
mainfrom
hotfix/remote-smallpiece

Conversation

@parkan
Copy link
Copy Markdown
Collaborator

@parkan parkan commented Nov 20, 2025

the last approach worked with local outputs but broke on S3 because we close the file before trying to append zeroes, which causes a commit on S3 and makes the remote object immutable, this adds a heuristic to use tmpfile to build the padded object and upload it whole

@parkan parkan merged commit 3f3d976 into main Nov 21, 2025
3 checks passed
@parkan parkan deleted the hotfix/remote-smallpiece branch November 21, 2025 17:38
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.

1 participant