mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-30 11:50:38 +00:00
feat: disable mysql server on datande when running standalone mode (#593)
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user