mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-25 17:30:41 +00:00
fix: remove datanode mysql options in standalone mode (#595)
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
node_id = 0
|
||||
mode = 'standalone'
|
||||
http_addr = '127.0.0.1:4000'
|
||||
datanode_mysql_addr = '127.0.0.1:4406'
|
||||
datanode_mysql_runtime_size = 4
|
||||
wal_dir = '/tmp/greptimedb/wal/'
|
||||
|
||||
[storage]
|
||||
|
||||
@@ -71,8 +71,6 @@ pub struct StandaloneOptions {
|
||||
pub mode: Mode,
|
||||
pub wal_dir: String,
|
||||
pub storage: ObjectStoreConfig,
|
||||
pub datanode_mysql_addr: String,
|
||||
pub datanode_mysql_runtime_size: usize,
|
||||
}
|
||||
|
||||
impl Default for StandaloneOptions {
|
||||
@@ -88,8 +86,6 @@ impl Default for StandaloneOptions {
|
||||
mode: Mode::Standalone,
|
||||
wal_dir: "/tmp/greptimedb/wal".to_string(),
|
||||
storage: ObjectStoreConfig::default(),
|
||||
datanode_mysql_addr: "127.0.0.1:4406".to_string(),
|
||||
datanode_mysql_runtime_size: 4,
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -114,8 +110,6 @@ impl StandaloneOptions {
|
||||
DatanodeOptions {
|
||||
wal_dir: self.wal_dir,
|
||||
storage: self.storage,
|
||||
mysql_addr: self.datanode_mysql_addr,
|
||||
mysql_runtime_size: self.datanode_mysql_runtime_size,
|
||||
..Default::default()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user