Good day everyone, I wanted to ask a question because the documentation contradicts itself about vacuuming, and I can’t understand if it’s thread-safe like consolidation or not.
These are the links in question.
Good day everyone, I wanted to ask a question because the documentation contradicts itself about vacuuming, and I can’t understand if it’s thread-safe like consolidation or not.
These are the links in question.
Good day! Thanks for pointing this out, I will submit a doc update today to clarify the pages you pointed to. A couple clarifications… While consolidation is thread safe with other read/write operations, it is not safe to run multiple consolidation operations that can consolidates the same fragments on different threads.
Vacuuming will delete fragments that are no longer needed, but there is no guarantee that a current read operation is not using them. If any read operation is using fragments to be vacuumed, they might fail, therefore it is not thread-safe.
Also see this page: https://docs.tiledb.com/main/background/internal-mechanics/concurrency
Thanks,
Luc
I thank you for the clarification and for the response