Skip to content
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

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

cqy123456
Copy link
Contributor

@cqy123456 cqy123456 commented Oct 16, 2024

issue: #36871
related pr: #36939

@sre-ci-robot sre-ci-robot added the size/XS Denotes a PR that changes 0-9 lines. label Oct 16, 2024
Copy link
Contributor

mergify bot commented Oct 16, 2024

@cqy123456 Please associate the related pr of master to the body of your Pull Request. (eg. “pr: #”)

Copy link

codecov bot commented Oct 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.94%. Comparing base (dfe27eb) to head (31bf766).
Report is 3 commits behind head on 2.4.

Additional details and impacted files

Impacted file tree graph

@@             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     

see 301 files with indirect coverage changes

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(
Copy link
Contributor

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

@foxspy
Copy link
Contributor

foxspy commented Oct 17, 2024

/lgtm

… index removes the vec chunks.

Signed-off-by: cqy123456 <[email protected]>
@czs007
Copy link
Collaborator

czs007 commented Oct 17, 2024

/approve
/lgtm

@sre-ci-robot
Copy link
Contributor

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sre-ci-robot sre-ci-robot merged commit ff66230 into milvus-io:2.4 Oct 17, 2024
15 checks passed
sre-ci-robot pushed a commit that referenced this pull request Oct 18, 2024
…x removes the vec chunks. (#36939)

issue: #36871
related pr: #36938

Signed-off-by: cqy123456 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved ci-passed dco-passed DCO check passed. kind/bug Issues or changes related a bug lgtm size/XS Denotes a PR that changes 0-9 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants