mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-03 11:52:54 +00:00
chore: add function for getting started on metasrv (#7022)
Signed-off-by: shuiyisong <xixing.sys@gmail.com>
This commit is contained in:
@@ -794,6 +794,10 @@ impl Metasrv {
|
||||
&self.plugins
|
||||
}
|
||||
|
||||
pub fn started(&self) -> Arc<AtomicBool> {
|
||||
self.started.clone()
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn new_ctx(&self) -> Context {
|
||||
let server_addr = self.options().grpc.server_addr.clone();
|
||||
|
||||
Reference in New Issue
Block a user