Skip to content

Commit

Permalink
fix: remove datanode mysql options in standalone mode (GreptimeTeam#595)
Browse files Browse the repository at this point in the history
  • Loading branch information
v0y4g3r authored Nov 21, 2022
1 parent b6fa316 commit 2b6b979
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions config/standalone.example.toml
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
6 changes: 0 additions & 6 deletions src/cmd/src/standalone.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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,
}
}
}
Expand All @@ -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()
}
}
Expand Down

0 comments on commit 2b6b979

Please sign in to comment.