feat: disable mysql server on datande when running standalone mode (#593)

This commit is contained in:
Lei, HUANG
2022-11-21 12:12:26 +08:00
committed by GitHub
parent 5428ad364e
commit ca5734edb3
16 changed files with 65 additions and 43 deletions

View File

@@ -14,6 +14,8 @@
#![feature(assert_matches)]
use serde::{Deserialize, Serialize};
pub mod context;
pub mod error;
pub mod grpc;
@@ -27,3 +29,10 @@ pub mod prometheus;
pub mod query_handler;
pub mod server;
mod shutdown;
#[derive(Clone, Debug, Serialize, Deserialize, Eq, PartialEq)]
#[serde(rename_all = "lowercase")]
pub enum Mode {
Standalone,
Distributed,
}