Is there any setting in config for sync? For examp...
# help
u
Is there any setting in config for sync? For example, if the repo is deleted in LakeFS, it's also removed from the storage.
u
Currently there is no event/hook triggered on repository delete. Delete the content of the storage namespace associated with the repository will remove the storage usage. But currently lakeFS does not delete this content.
u
What do you mean in 'sync'?
u
Does a hook will be enough to capture the functionality you seek?
u
sync
means that content for a given repo is removed from the storage if that repo is deleted in lakefs.
u
without an associate to delete repo, you can use distcp to sync the repository later content to s3 (https://docs.lakefs.io/howto/copying.html#using-distcp) or rclone https://docs.lakefs.io/howto/copying.html#using-rclone. still the operation is not triggered by the delete repository operation.
u
so for example, we can write a script to sync the data, delete the repository and delete storage namespace when you like to delete repository