Files
qdrant/lib
generall 8d60b9a738 Check capacity once per batch, from a single origin
Review feedback: capacity was checked per point, from three separate places
generating OutOfAppendableCapacity.

Now `appendable_segments_with_capacity` is the single origin of the error,
and both consumers build on it: `smallest_appendable_segment` picks the
smallest among the eligible candidates (measuring is what it already did),
and `apply_points_with_conditional_move` computes eligible destinations
lazily once per call — the update paths batch points per call, so capacity
is checked once per batch of 32 points, not per point. The per-point insert
check is dropped.

The cap consequently allows an overshoot of at most one batch worth of
points per destination, which is negligible against real segment size caps.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-16 15:40:30 +02:00
..
2026-07-07 16:25:57 +02:00
2026-07-07 14:53:15 +02:00