Consistency of .tiledb
Opened this issue · 1 comments
I happened to delete a TileDB workspace directory with a normal rm
. It still appeared in the output from tiledb_ls_workspaces
but any calls to that workspace gave an error including trying to create the workspace again. In the end, I ended up deleting .tiledb
which probably shouldn't be the solution very often. Would it make sense to have a function that brings .tiledb
into a "correct" state or how should I handle the situation after a folder has been deleted outside TileDB.
The quick fix would be to re-create the workspace and delete it properly with tiledb_delete
. I have tried this and it works without problems. Please let me know what error it gives you.
Regardless of the above though, your suggestion for having a "correction" function for .tiledb is nice and relatively easy to implement. I will keep the issue open and implement it soon.
Thanks!