Skip to content

VecSim Info API update and ARM Optimizations - [MOD-9354]#5911

Merged
GuyAv46 merged 10 commits intomasterfrom
fix_info_vecsim_robust
Apr 15, 2025
Merged

VecSim Info API update and ARM Optimizations - [MOD-9354]#5911
GuyAv46 merged 10 commits intomasterfrom
fix_info_vecsim_robust

Conversation

@alonre24
Copy link
Collaborator

@alonre24 alonre24 commented Apr 10, 2025

Describe the changes in the pull request

  1. Avoid using the dangerous debug info API upon collecting info for a vector field as part of handling redis info that is also used to generate metrics. This way, we are using a safe and fast API that does not use any locks.
  2. Introduce new ARM hardware optimizations for the vector search

Mark if applicable

  • This PR introduces API changes
  • This PR introduces serialization changes

@codecov
Copy link

codecov bot commented Apr 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.05%. Comparing base (7d3cd16) to head (8eeccd5).
Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5911      +/-   ##
==========================================
- Coverage   87.08%   87.05%   -0.04%     
==========================================
  Files         211      211              
  Lines       38569    38565       -4     
  Branches     1893     1893              
==========================================
- Hits        33589    33573      -16     
- Misses       4973     4985      +12     
  Partials        7        7              

☔ 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.

GuyAv46
GuyAv46 previously approved these changes Apr 11, 2025
@alonre24 alonre24 added this pull request to the merge queue Apr 11, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 11, 2025
@GuyAv46 GuyAv46 enabled auto-merge April 15, 2025 06:22
@GuyAv46 GuyAv46 requested a review from lerman25 April 15, 2025 06:22
@GuyAv46 GuyAv46 added this pull request to the merge queue Apr 15, 2025
@GuyAv46 GuyAv46 changed the title Use new info API of VecSim for metrics [MOD-9354] VecSim Info API update and ARM Optimizations - [MOD-9354] Apr 15, 2025
Merged via the queue into master with commit 383ed64 Apr 15, 2025
11 checks passed
@GuyAv46 GuyAv46 deleted the fix_info_vecsim_robust branch April 15, 2025 08:32
@redisearch-backport-pull-request
Copy link
Contributor

Backport failed for 2.8, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin 2.8
git worktree add -d .worktree/backport-5911-to-2.8 origin/2.8
cd .worktree/backport-5911-to-2.8
git switch --create backport-5911-to-2.8
git cherry-pick -x 383ed64b5a4332a5dfe7ced3202dffc2260a15fd

@redisearch-backport-pull-request
Copy link
Contributor

Backport failed for 2.6, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin 2.6
git worktree add -d .worktree/backport-5911-to-2.6 origin/2.6
cd .worktree/backport-5911-to-2.6
git switch --create backport-5911-to-2.6
git cherry-pick -x 383ed64b5a4332a5dfe7ced3202dffc2260a15fd

@redisearch-backport-pull-request
Copy link
Contributor

Backport failed for 2.10, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin 2.10
git worktree add -d .worktree/backport-5911-to-2.10 origin/2.10
cd .worktree/backport-5911-to-2.10
git switch --create backport-5911-to-2.10
git cherry-pick -x 383ed64b5a4332a5dfe7ced3202dffc2260a15fd

redisearch-backport-pull-request bot pushed a commit that referenced this pull request Apr 15, 2025
* Use new info API of vecsim

* change to fixed main

* attempt to fix a test

* fix

* another attempt

* another attempt

* fix type and add info to test_hybrid_query_with_geo

* another attempt

* finalize test fix

* update vecsim tag

---------

Co-authored-by: GuyAv46 <[email protected]>
(cherry picked from commit 383ed64)
@redisearch-backport-pull-request
Copy link
Contributor

Successfully created backport PR for 8.0:

GuyAv46 added a commit that referenced this pull request Apr 15, 2025
* Use new info API of vecsim

* change to fixed main

* attempt to fix a test

* fix

* another attempt

* another attempt

* fix type and add info to test_hybrid_query_with_geo

* another attempt

* finalize test fix

* update vecsim tag

---------

Co-authored-by: GuyAv46 <[email protected]>
(cherry picked from commit 383ed64)
GuyAv46 added a commit that referenced this pull request Apr 15, 2025
* Use new info API of vecsim

* change to fixed main

* attempt to fix a test

* fix

* another attempt

* another attempt

* fix type and add info to test_hybrid_query_with_geo

* another attempt

* finalize test fix

* update vecsim tag

---------

Co-authored-by: GuyAv46 <[email protected]>
(cherry picked from commit 383ed64)
GuyAv46 added a commit that referenced this pull request Apr 15, 2025
* Use new info API of vecsim

* change to fixed main

* attempt to fix a test

* fix

* another attempt

* another attempt

* fix type and add info to test_hybrid_query_with_geo

* another attempt

* finalize test fix

* update vecsim tag

---------

Co-authored-by: GuyAv46 <[email protected]>
(cherry picked from commit 383ed64)
github-merge-queue bot pushed a commit that referenced this pull request Apr 15, 2025
Use new info API of VecSim for metrics [MOD-9354] (#5911)

* Use new info API of vecsim

* change to fixed main

* attempt to fix a test

* fix

* another attempt

* another attempt

* fix type and add info to test_hybrid_query_with_geo

* another attempt

* finalize test fix

* update vecsim tag

---------

Co-authored-by: GuyAv46 <[email protected]>
(cherry picked from commit 383ed64)

Co-authored-by: alonre24 <[email protected]>
github-merge-queue bot pushed a commit that referenced this pull request Apr 15, 2025
* Use new info API of VecSim for metrics [MOD-9354] (#5911)

* Use new info API of vecsim

* change to fixed main

* attempt to fix a test

* fix

* another attempt

* another attempt

* fix type and add info to test_hybrid_query_with_geo

* another attempt

* finalize test fix

* update vecsim tag

---------

Co-authored-by: GuyAv46 <[email protected]>
(cherry picked from commit 383ed64)

* fixes for 2.8

---------

Co-authored-by: alonre24 <[email protected]>
github-merge-queue bot pushed a commit that referenced this pull request Apr 15, 2025
* Use new info API of VecSim for metrics [MOD-9354] (#5911)

* Use new info API of vecsim

* change to fixed main

* attempt to fix a test

* fix

* another attempt

* another attempt

* fix type and add info to test_hybrid_query_with_geo

* another attempt

* finalize test fix

* update vecsim tag

---------

Co-authored-by: GuyAv46 <[email protected]>
(cherry picked from commit 383ed64)

* fixes for 2.6

---------

Co-authored-by: alonre24 <[email protected]>
github-merge-queue bot pushed a commit that referenced this pull request Apr 15, 2025
* Use new info API of VecSim for metrics [MOD-9354] (#5911)

* Use new info API of vecsim

* change to fixed main

* attempt to fix a test

* fix

* another attempt

* another attempt

* fix type and add info to test_hybrid_query_with_geo

* another attempt

* finalize test fix

* update vecsim tag

---------

Co-authored-by: GuyAv46 <[email protected]>
(cherry picked from commit 383ed64)

* fixes for 2.10

* Revert "[MOD-9313] Disable extended vecsim info [2.10] (#5893)"

This reverts commit 6c4884c.

---------

Co-authored-by: alonre24 <[email protected]>
JoanFM pushed a commit that referenced this pull request May 27, 2025
* Use new info API of vecsim

* change to fixed main

* attempt to fix a test

* fix

* another attempt

* another attempt

* fix type and add info to test_hybrid_query_with_geo

* another attempt

* finalize test fix

* update vecsim tag

---------

Co-authored-by: GuyAv46 <[email protected]>
JoanFM pushed a commit that referenced this pull request May 27, 2025
* Use new info API of vecsim

* change to fixed main

* attempt to fix a test

* fix

* another attempt

* another attempt

* fix type and add info to test_hybrid_query_with_geo

* another attempt

* finalize test fix

* update vecsim tag

---------

Co-authored-by: GuyAv46 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants