-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix:[2.4]Chunk Id out of range in vector BF search, after the growing index removes the vec chunks. #36938
Conversation
@cqy123456 Please associate the related pr of master to the body of your Pull Request. (eg. “pr: #”) |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 2.4 #36938 +/- ##
===========================================
+ Coverage 71.91% 84.94% +13.02%
===========================================
Files 1064 797 -267
Lines 140864 116325 -24539
===========================================
- Hits 101305 98808 -2497
+ Misses 35226 13183 -22043
- Partials 4333 4334 +1 |
segment.get_chunk_mutex()); | ||
// check SyncDataWithIndex() again, in case the vector chunks has been removed. | ||
if (segment.get_indexing_record().SyncDataWithIndex(field.get_id())) { | ||
FloatSegmentIndexSearch( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return here? it seems that no need to run the following broute force
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
ce8135a
to
b4ddcd2
Compare
/lgtm |
… index removes the vec chunks. Signed-off-by: cqy123456 <qianya.cheng@zilliz.com>
b4ddcd2
to
31bf766
Compare
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cqy123456, czs007 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
issue: #36871
related pr: #36939