Incident Report
Vector DB Index Corruption Incident
Incident Date
2024-04-28
Severity
Critical (P0)
Duration
142 Minutes
The Incident
A routine automated re-indexing cycle introduced a race condition between the upsert task and the deletion worker, leading to partial corruption of semantic references.
Root Cause Analysis
The core failure was the lack of distributed locking during namespace mutation. Two concurrent functions attempted to operate on the same namespace at the same time.
- Trigger: Automated CI/CD maintenance event.
- Failure Point: Concurrent
namespace_deleteandupsertoperations. - System Impact: Retrieval precision dropped across downstream RAG workflows.
Recovery and Prevention
Immediate Remediation:
- Rolled back to the last verified snapshot.
- Introduced a Redis-backed distributed lock in the deployment pipeline.
- Added strict schema validation for all upsert operations.