You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Issueing the termination process the filestore removes both the binary as well as the .info file. The gcc store only removes the binary file.
Expected behavior
The expected behavior is that all store implementations, including the GCS store, should uniformly handle the terminating process by removing both the binary files and their corresponding .info files. The termination process should be consistent across different store implementations to ensure a standardized and predictable behavior.
The text was updated successfully, but these errors were encountered:
Good catch! FilterObjects has been designed to find objects in a bucket which should be composed to form the final object. The .info should not be included here and is thus explicitly removed from the list. For terminating the upload, this behavior is not wanted, as you correctly found.
A solution would be to add an object IncludeInfoObject to GCSFilterParams, which can be set by the termination code to instruct FilterObjects to not exclude .info objects. Would you be interested in opening a PR for this?
Describe the bug
Issueing the termination process the filestore removes both the binary as well as the .info file. The gcc store only removes the binary file.
To Reproduce
The .info is being ignored explicit: https://github.com/tus/tusd/blob/main/pkg/gcsstore/gcsservice.go#L355
Expected behavior
The expected behavior is that all store implementations, including the GCS store, should uniformly handle the terminating process by removing both the binary files and their corresponding .info files. The termination process should be consistent across different store implementations to ensure a standardized and predictable behavior.
The text was updated successfully, but these errors were encountered: