-
Notifications
You must be signed in to change notification settings - Fork 760
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add stream api for get, mget and list (#13299)
* feat: add stream api for get, mget and list In this commit, meta grpc service provides new api `kv_read_v1() -> Stream<StreamItem>`. Service and client are both ready but not yet used by databend-query yet. This new API support `get` single kv, `mget` multiple kv and `list` kv by a prefix. The result is returned in a stream. Raft service also provides a `kv_read_v1()` API for internal forwarding such a request to the leader. Other changes: rename internal term `PrefixList -> List`. * chore: fix testing impl of MetaService * chore: fix clippy
- Loading branch information
1 parent
51289d7
commit 67ee61b
Showing
18 changed files
with
652 additions
and
37 deletions.
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
67ee61b
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.
Successfully deployed to the following URLs:
databend – ./
databend-git-main-databend.vercel.app
databend-databend.vercel.app
databend.vercel.app
databend.org
databend.rs