Skip to content

A multi-root operation failed at one root

Type URI: https://modeled-information-format.github.io/mif-rs/references/errors/multi-root-operation-failure/v1 HTTP status: 500 Exit code: 1 Emitted by: mif-store (StoreError::RootFailure)

multi-root operation failed at root {root}: {source}

multi_root_top_k_similar, multi_root_get, or multi_root_stats (used by mif-cli’s --extra-db-path and mif-mcp’s extra_db_paths) queried more than one vector-store root, and one of the roots — after opening successfully — failed a query (StoreError::Query, CorruptDimension, or VectorBlobMismatch). Unlike an open failure (StoreError::Open/ StoreError::MissingParentDir, which already name their own path and are returned unwrapped), a query failure carries no path of its own, so it is wrapped in this error naming the specific root that produced it.

Unspecified — inspect the wrapped error to see what happened at the named root; fix that root specifically (e.g. its permissions, integrity, or missing parent directory) rather than assuming every queried root failed.