Skip to content

Commit

Permalink
chore: refine for code review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
zyy17 committed Dec 27, 2023
1 parent 5c2cba2 commit cddb6d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions config/metasrv.example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ selector = "lease_based"
use_memory_store = false
# Whether to enable greptimedb telemetry, true by default.
enable_telemetry = true
# If it's not empty, the metasrv will store all data with this key prefix.
store_key_prefix = ""

# Log options, see `standalone.example.toml`
Expand Down
2 changes: 1 addition & 1 deletion src/meta-srv/src/metasrv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ impl Default for MetaSrvOptions {
data_home: METASRV_HOME.to_string(),
wal: WalConfig::default(),
export_metrics: ExportMetricsOption::default(),
store_key_prefix: "".to_string(),
store_key_prefix: String::new(),
}
}
}
Expand Down

0 comments on commit cddb6d0

Please sign in to comment.