barrel_vectordb_docstore behaviour (barrel_vectordb v2.1.1)
View SourceDocument backend behaviour for barrel_vectordb.
A vector store keeps each vector's source text and metadata somewhere. By default (docstore => undefined) they live in the store's own RocksDB column families, written in the same atomic batch as the vector. Configuring an external docstore (for example barrel_vectordb_docdb_backend) routes text and metadata elsewhere; the vector itself always stays local so the ANN index can be rebuilt from it.
External backends are written after the vector batch commits (vector-first, doc-second), so a crash between the two can leave a vector without its text; the vector column family stays authoritative for rebuild.