-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Add shard snapshot gRPC API #2825
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
75 tasks
timvisee
requested changes
Oct 17, 2023
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.
In a conversation we agreed that the gRPC interface should be moved to the internal API. That is because we'd like to use this through ChannelService
which only works with the internal API.
Move `ShardSnapshotRecoverResponse` to `shard_snapshots_service.proto`
…PI only Update `api/src/grpc/qdrant.rs`
…PI only Update gRPC docs
timvisee
reviewed
Oct 17, 2023
9 tasks
timvisee
approved these changes
Oct 17, 2023
generall
approved these changes
Oct 18, 2023
generall
pushed a commit
that referenced
this pull request
Dec 6, 2023
* Fix paste-bugs in `snapshot_service.proto` * Add shard snapshot gRCP API definition * Add validation to shard snapshot gRPC API definition * Implement conversions between gRPC and `collection` types * Extract shard snapshot API implementation into common sub-module * Implement shard snapshot gRPC API * Generate gRPC docs * Refactor `ShardSnapshots` gRPC service to be internal API only * fixup! Refactor `ShardSnapshots` gRPC service to be internal API only Move `ShardSnapshotRecoverResponse` to `shard_snapshots_service.proto` * fixup! fixup! Refactor `ShardSnapshots` gRPC service to be internal API only Update `api/src/grpc/qdrant.rs` * fixup! fixup! Refactor `ShardSnapshots` gRPC service to be internal API only Update gRPC docs * Switch `ShardSnapshots` gRPC service to use `validate_and_log` instead of `validate`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add gRPC API for shard snapshot operations that can be implemented with gRPC:
create
list
delete
recover
download
andupload
, so these operations only available in HTTP API(This is required for the #2432.)
All Submissions:
dev
branch. Did you create your branch fromdev
?New Feature Submissions:
cargo +nightly fmt --all
command prior to submission?cargo clippy --all --all-features
command?Changes to Core Features: