Hi! Is there a way to delete underlying s3 folder ...
# help
g
Hi! Is there a way to delete underlying s3 folder with
lakectl repo delete <repo>
?
e
Hi @George Markhulia,
lakectl repo delete
only removes the metadata for the repository and does not modify the underlying storage. This is a recurring theme in lakeFS as it’s role is to manage metadata and not the underlaying storage. If you’re interested in cleaning up unreferenced objects, please take a look at garbage collection in the lakeFS docs
g
Thanks @Elad Lachmi, i’m aware of garbage collection, i was just hoping maybe there’s a hidden feature in cli that is not documented
e
@George Markhulia It’s important to realize that lakeFS isn’t intended to manage the “physical” object store by design. Our recommended configuration doesn’t include delete permissions to the underlying storage for the credentials used by lakeFS to access the object store.