Skip to content

Add comprehensive parallel index test with multiple index types#3283

Merged
yuzhichang merged 14 commits intoinfiniflow:mainfrom
zpf121:add_index_tests
Mar 4, 2026
Merged

Add comprehensive parallel index test with multiple index types#3283
yuzhichang merged 14 commits intoinfiniflow:mainfrom
zpf121:add_index_tests

Conversation

@zpf121
Copy link
Contributor

@zpf121 zpf121 commented Mar 4, 2026

Description:

This PR adds a new test test_multiple_index_types_parallel to verify concurrent read/write operations with various index types in Infinity database.

Test Overview:

4 write threads:
Insert rows with deterministic vector, multivector, text, and category data

8 read threads:
FullText: queries using match_text
Hnsw: vector search using match_dense on vector_col
Hnsw MV: vector search on tensor_col (multivector)
Secondary High: filter queries on id column (high cardinality)
Secondary Low: filter queries on category column (low cardinality)
Fusion RRF: combines fulltext and vector search with RRF fusion
Fusion MV RRF: combines two vector searches (regular + multivector)
Fusion Weighted Sum: combines fulltext and vector search with weighted_sum fusion

@zpf121 zpf121 marked this pull request as draft March 4, 2026 05:44
@zpf121 zpf121 added the ci PR can be test label Mar 4, 2026
@zpf121 zpf121 marked this pull request as ready for review March 4, 2026 05:44
@codecov
Copy link

codecov bot commented Mar 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 29.70%. Comparing base (e7774c5) to head (546e892).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #3283       +/-   ##
===========================================
- Coverage   43.43%   29.70%   -13.73%     
===========================================
  Files         731      729        -2     
  Lines      153374   153350       -24     
  Branches    27750    27748        -2     
===========================================
- Hits        66619    45556    -21063     
- Misses      77239    99785    +22546     
+ Partials     9516     8009     -1507     
Flag Coverage Δ
debug parallel test ?
debug pysdk test 29.70% <ø> (-0.20%) ⬇️
debug unit test ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@yuzhichang yuzhichang merged commit a6de141 into infiniflow:main Mar 4, 2026
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci PR can be test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants