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

[Enhancement]: Support ListIndexes with collectionID batch #32888

Open
1 task done
xiaofan-luan opened this issue May 9, 2024 · 3 comments
Open
1 task done

[Enhancement]: Support ListIndexes with collectionID batch #32888

xiaofan-luan opened this issue May 9, 2024 · 3 comments
Assignees
Labels
kind/enhancement Issues or changes related to enhancement

Comments

@xiaofan-luan
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

What would you like to be added?

  1. when collection number becomes huge, list index will take many rpcs to run, especially for the index checker.
  2. if we can fetch index info per batch, this dramatically reduce the cost of ipc.
  3. we can further improve this by only run index checker if there are some recent index changes.

Why is this needed?

  1. ListIndexes(ctx context.Context, req *indexpb.ListIndexesRequest) (*indexpb.ListIndexesResponse, error) support a way to fetch all the collection indexInfo (could be multiple rpcs, everthing wrapped in a helper)
  2. Add another LatestIndexVersion check, each time index param change, index version increase. Query can use cached info if latest index version not change.

Anything else?

No response

@xiaofan-luan xiaofan-luan added the kind/enhancement Issues or changes related to enhancement label May 9, 2024
@xiaofan-luan
Copy link
Contributor Author

anyone interested can assign yourself

@niebayes
Copy link

Please assign to me.

@xiaofan-luan
Copy link
Contributor Author

/assign @niebayes
thanks for the helping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Issues or changes related to enhancement
Projects
None yet
Development

No branches or pull requests

2 participants