mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-07 05:42:57 +00:00
feat: get metasrv clusterinfo (#3696)
* feat: add doc for MetasrvOptions * feat: register candidate before election * feat: get all peers metasrv * chore: simply code * chore: proto rev * Update src/common/meta/src/cluster.rs Co-authored-by: dennis zhuang <killme2008@gmail.com> * Update src/meta-client/src/client.rs Co-authored-by: dennis zhuang <killme2008@gmail.com> * fmt Signed-off-by: tison <wander4096@gmail.com> * Apply suggestions from code review Co-authored-by: dennis zhuang <killme2008@gmail.com> * impl<T: AsRef<[u8]>> From<T> for LeaderValue Signed-off-by: tison <wander4096@gmail.com> --------- Signed-off-by: tison <wander4096@gmail.com> Co-authored-by: dennis zhuang <killme2008@gmail.com> Co-authored-by: tison <wander4096@gmail.com>
This commit is contained in:
@@ -104,7 +104,7 @@ etcd-client = "0.12"
|
||||
fst = "0.4.7"
|
||||
futures = "0.3"
|
||||
futures-util = "0.3"
|
||||
greptime-proto = { git = "https://github.com/GreptimeTeam/greptime-proto.git", rev = "b97efbf92a0bf9abcfa1d8fe0ffe8741a2e7309e" }
|
||||
greptime-proto = { git = "https://github.com/GreptimeTeam/greptime-proto.git", rev = "8da84a04b137c4104262459807eab1c04b92f3cc" }
|
||||
humantime = "2.1"
|
||||
humantime-serde = "1.1"
|
||||
itertools = "0.10"
|
||||
|
||||
Reference in New Issue
Block a user