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

The SearchByVectorID result may not accurate #398

Closed
kevindiu opened this issue May 21, 2020 · 2 comments
Closed

The SearchByVectorID result may not accurate #398

kevindiu opened this issue May 21, 2020 · 2 comments

Comments

@kevindiu
Copy link
Contributor

kevindiu commented May 21, 2020

Issue

After Vald receive the SearchByVectorID request, Vald LB Gateway will forward the UUID to the Vald Agent to perform the search.

For example we have 4 Vald Agents:

Agent Memory
1 V1, V2
2 V1, V3
3 V2, V4
4 V4, V3

When user perform the searchByVectorID where the vector ID matches the vector V2, only Agent 1 and 3 can return the result, but the most accurate result maybe stored in Agent 2 or Agent 4.

To Reproduce:

Expected behavior:

All the Vald Agent should be able to perform the search.

Environment:

  • Golang Version: 1.13.5
  • Docker Version: 19.03.5
  • Kubernetes Version: 1.16.3
  • NGT Version: 1.8.4
@kevindiu kevindiu added type/bug Something isn't working team/core Core team priority/medium labels May 21, 2020
@kpango kpango added area/gateway status/in-progress type/suggestion Suggestion and removed type/bug Something isn't working labels May 21, 2020
@kpango
Copy link
Collaborator

kpango commented May 21, 2020

I think it's not a bug, vald works correctly, I think it's kind of an improvement.

@kpango
Copy link
Collaborator

kpango commented May 21, 2020

actually current version of gateway fetches vector from Backup Manager, all agent will return correct ANN response.
but this Issues problem will appear in future architecture. Fortunately I'm working on it so I will fix this problem with divide gateway tasks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants