Skip to content

Comments

fix: encode volume content version in source prefix#279

Open
narasul wants to merge 1 commit intomainfrom
make-volume-update-bump-version
Open

fix: encode volume content version in source prefix#279
narasul wants to merge 1 commit intomainfrom
make-volume-update-bump-version

Conversation

@narasul
Copy link
Contributor

@narasul narasul commented Feb 24, 2026

People using volumes shoot themselves in the foot because of how volumes update command works. When they add a bunch of files to the directory they uploaded from previously they end up having a ton of files under the same source_prefix in their volume they did not intend to have. This increases volume size and as a result coldstart time.

This PR adds a version encoded into the source_prefix of the volume so that update command always results in the files in distinct path we pull from in the tigris bucket. We anyways re-uploaded everything with update command even if the files already existed in the bucket, so no negative impact to UX.

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