Skip to content

[8.2] [MOD-10926] Expose SVS Marked Deleted Vector Count via Statistics API #797

Merged
meiravgri merged 1 commit into8.2from
backport-796-to-8.2
Oct 13, 2025
Merged

[8.2] [MOD-10926] Expose SVS Marked Deleted Vector Count via Statistics API #797
meiravgri merged 1 commit into8.2from
backport-796-to-8.2

Conversation

@meiravgri
Copy link
Collaborator

backport #796 to 8.2

  • Backport confilicts due to changes in deleteMulti test, which doesn't in 8.2.

…#796)

SVSIndex
rename chnages_num -> num_marked_deleted to emphasize it onluy counts deletions

SVSIndexBase: move num_marked_deleted to SVSIndexBase so it can be simply fetched without complex cast
add getNumMarkedDeleted to API

add  virtual getNumMarkedDeleted to tiered index to be called by VecSimTieredIndex::statisticInfo

hnsw  tiered implmnetaion: call hnsw->VecSimIndexTombstone::getNumMarkedDeleted, (hnsw inhrits VecSimIndexTombstone)

svs imp: returns SVSIndexBase::getNumMarkedDeleted

(cherry picked from commit 1c0ec77)
@meiravgri meiravgri requested a review from GuyAv46 October 13, 2025 10:57
@meiravgri meiravgri enabled auto-merge October 13, 2025 10:58
@codecov
Copy link

codecov bot commented Oct 13, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.64%. Comparing base (1d696c4) to head (af77219).
⚠️ Report is 1 commits behind head on 8.2.

Additional details and impacted files
@@           Coverage Diff           @@
##              8.2     #797   +/-   ##
=======================================
  Coverage   96.64%   96.64%           
=======================================
  Files         126      126           
  Lines        7663     7668    +5     
=======================================
+ Hits         7406     7411    +5     
  Misses        257      257           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@meiravgri meiravgri added this pull request to the merge queue Oct 13, 2025
Merged via the queue into 8.2 with commit fc07800 Oct 13, 2025
17 checks passed
@meiravgri meiravgri deleted the backport-796-to-8.2 branch October 13, 2025 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants