Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a constant suffix for temporary GCS part files. #5308

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

teo-tsirpanis
Copy link
Member

@teo-tsirpanis teo-tsirpanis commented Sep 13, 2024

SC-54146

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 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

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.

@KiterLuc KiterLuc merged commit f016e98 into dev Sep 17, 2024
64 checks passed
@KiterLuc KiterLuc deleted the teo/gcs-constant-suffix branch September 17, 2024 10:18
ihnorton pushed a commit that referenced this pull request Nov 15, 2024
[SC-59383](https://app.shortcut.com/tiledb-inc/story/59383/update-temporary-file-suffix-to-tiledb-tmp)

This PR updates the extension of temporary files from `.tmp` (first
introduced in #5308) to `.tiledb.tmp`, enabling users to take action
specifically to temporary files produced by TileDB.

---
TYPE: IMPROVEMENT
DESC: Temporary files (currently used by GCS only) now end with
`.tiledb.tmp`, allowing you to set a lifecycle rule to automatically
delete them after a set amount of time if they happen to be left over.
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.

2 participants