Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Fix DiskANN Access Invalid Address when Query with Bitset #798

Merged
merged 1 commit into from
Apr 3, 2023

Conversation

PwzXxm
Copy link
Collaborator

@PwzXxm PwzXxm commented Apr 3, 2023

issue: #797

When bitset is set, when cur_list_size is 1 and the bitset of the only item in the retset is set, it got memmoved and cur_list_size set to 0. Then when try to insert to the retset later, accessing right = cur_list_size - 1 will be invalid.

Related test cases will be introduced in the PR #794

@mergify
Copy link

mergify bot commented Apr 3, 2023

@PwzXxm Please associate the related issue to the body of your Pull Request. (eg. “issue: #”)

@hhy3
Copy link
Member

hhy3 commented Apr 3, 2023

/lgtm

Copy link
Member

@hhy3 hhy3 left a comment

Choose a reason for hiding this comment

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

/lgtm

@sre-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hhy3, PwzXxm

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 7156af0 into milvus-io:main Apr 3, 2023
PwzXxm added a commit to PwzXxm/knowhere-deprecated that referenced this pull request Apr 10, 2023
)

Signed-off-by: Patrick Weizhi Xu <[email protected]>
(cherry picked from commit 7156af0)
sre-ci-robot pushed a commit that referenced this pull request Apr 11, 2023
Signed-off-by: Patrick Weizhi Xu <[email protected]>
(cherry picked from commit 7156af0)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants