mirror of
https://github.com/qdrant/qdrant.git
synced 2026-07-26 04:31:02 -05:00
* Propagate HardwareCounterCell through MmapMapIndex::get_values Previously, `MmapMapIndex::get_values` used `ConditionedCounter::never()`, which silently skipped all hardware IO counter tracking for mmap map index value reads. This propagates a real `HardwareCounterCell` through the full call chain so that disk IO from `values_iter` is properly measured. Changes: - `MmapMapIndex::get_values` now accepts `&HardwareCounterCell`, creates a `ConditionedCounter` via `make_conditioned_counter`, and measures the `deleted` bitvec access (matching `check_values_any` behavior). - `MapIndex::get_values` forwards the counter to the `Mmap` variant. - `FacetIndex::get_point_values` trait method now accepts `&HardwareCounterCell`, propagated through `FacetIndexEnum` and both impls (MapIndex, BoolIndex). - `indexed_variable_retriever` accepts and forwards the counter to `IntMapIndex`, `KeywordIndex`, and `UuidMapIndex` calls. - `SegmentBuilder::update` and `_get_ordering_value` accept and propagate the counter instead of creating disposable instances. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * feat: add test --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Co-authored-by: Daniel Boros <dancixx@gmail.com>