barrel_vectordb_store_sup (barrel_vectordb v2.2.0)
View SourceDynamic supervisor for vector store processes.
Mirrors barrel_db_sup for the docdb side: stores start under a simple_one_for_one supervisor (temporary children) instead of being linked to the caller, so a composed database opened on behalf of a manager is not tied to the transient process that opened it. The store is found by name through barrel_vectordb_registry; a crash of a temporary child is not auto-restarted, the owner reopens on next use (same contract as the docdb server).
Summary
Functions
Start the store supervisor.
Start a vector store under the supervisor (parent is the supervisor, not the caller). Config is the barrel_vectordb store config, including name.
Functions
-spec init([]) -> {ok, {supervisor:sup_flags(), [supervisor:child_spec()]}}.
Start the store supervisor.
Start a vector store under the supervisor (parent is the supervisor, not the caller). Config is the barrel_vectordb store config, including name.