Diagnostic step 1
Stop serving queries or divert them to a fallback when running incremental indexing until you confirm an atomic swap mechanism is in place; avoid running index update and traffic on the same index without staging.
Generated Oct 14, 2026, 9:39:02 AM
Stop serving queries or divert them to a fallback when running incremental indexing until you confirm an atomic swap mechanism is in place; avoid running index update and traffic on the same index without staging.
Implement atomic index replace: write updated FAISS index to a new file, validate it, then atomically rename/swap pointer (symlink) used by the search service and trigger in-process reload. Ensure metadata store swap occurs in the same transaction or in a coordinated manner.
Add checks in the indexer to verify that every vector upsert has a corresponding metadata commit; if embedding timeouts occur, retry embedding and avoid inserting placeholder vectors. Log and alert on partial failures.
Enable strong consistency mode during updates: quiesce writers, run a validated incremental commit, then resume queries. For immediate mitigation, run a full reindex to known-good state and schedule maintenance window for incremental workflow fixes.
If you suspect FAISS corruption or a library bug, upgrade FAISS to a maintained release and test incremental updates in a staging environment; collect indexer and search service logs and stack traces and escalate to the vector DB/library maintainers if index corruption recurs.