Files
qdrant/lib/common
Ivan Boldyrev ca4ed7af69 Immutable storage for mmap numeric index (#8594)
* Immutable storage for mmap numeric index

Do not use a deleted mmap-ed storage, instead, reconstruct a bitmask
from the index and segment-level deleted mask.  It effectively makes
the mmap numeric index immutable, and immutable numeric index too as
it delegates the storage to mmap numeric index.

* Index reload tests

* Make clippy happy

* Restore deletion bitmask to reduce IO on index load

It is more compact than count data we read before to check for cleared
payloads.

* immutable payload index storage 1 bis review (#8638)

* use bitwise operations instead of loop

* [AI] Only propagate bitslice

* fmt

* Fix deleted bitmask length

It must be the same length as `point_to_values` length.

* account for ram usage

* Default missing external deletion bits to live, not deleted.

* clear doc for flush

---------

Co-authored-by: Andrey Vasnetsov <andrey@vasnetsov.com>
Co-authored-by: Arnaud Gourlay <arnaud.gourlay@gmail.com>
2026-04-27 19:29:58 +02:00
..