Files
qdrant/lib/collection
Arnaud Gourlay eadf071a9c Clamp WAL replay target to the truncated prefix on shard load (#9851)
The WAL is only truncated past operations whose segment flush was
confirmed, so first_index is a durable lower bound on the applied
sequence. The persisted applied_seq can legitimately lag behind it by
more than one save interval: it is saved every 64 update-worker calls
from a counter that restarts at zero on process start, and synchronous
WAL replay never feeds it. A replay target computed from such a stale
applied_seq can then sit before first_index, tripping the debug_assert
from #8454 (flaky model_testing gate, #9844) and, in release builds,
enqueueing already-truncated indices that fail with spurious
"Operation not found in WAL" errors.

Clamp the replay target at first_index: nothing before it ever needs
replay.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-16 17:58:00 +02:00
..
2026-04-27 12:56:29 +02:00
2026-07-15 13:44:51 +02:00

Collection

Crate, which implements all functions required for operations with a single collection of points. Points within a collection should share the same payload schema and have same vector size. So that search requests could be performed over all points of a single collection.

Structure

Collection structure

Update process

Update process