Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a constant suffix for temporary GCS part files. (#5308)
[SC-54146](https://app.shortcut.com/tiledb-inc/story/54146/use-a-constant-suffix-for-the-gcs-temporary-part-files) This PR changes the format of the names of temporary GCS part files from `<object_path>__tiledb_<n>` to `<object_path>.part<n>.tmp`. Because the new names have a constant `.tmp` suffix, this enables GCS users to set a [lifecycle rule](https://cloud.google.com/storage/docs/lifecycle) to automatically delete them after a certain time if they happen to be left over (usually they get deleted at the end of the upload operation, but it might not happen if the operation was interrupted). ![image](https://github.com/user-attachments/assets/318717fb-6b68-47de-a69d-0fa6e5423053) Documentation will also be updated. For consistency we should also use `.tmp` for any kind of future temporary objects we upload. --- TYPE: IMPROVEMENT DESC: Temporary files (currently used by GCS only) now end with `.tmp`, allowing you to set a lifecycle rule to automatically delete them after a certain time if they happen to be left over.
- Loading branch information