fix: configuration example for selector (#4532)

* fix: configuration example for selector

* docs: update config docs

* test: update unit tests for configuration in meta
This commit is contained in:
Ning Sun
2024-08-09 17:51:05 +08:00
committed by GitHub
parent 665b7e5c6e
commit 9532ffb954
3 changed files with 5 additions and 4 deletions

View File

@@ -169,7 +169,7 @@ fn test_load_metasrv_example_config() {
compact_rt_size: 4,
},
component: MetasrvOptions {
selector: SelectorType::LeaseBased,
selector: SelectorType::default(),
data_home: "/tmp/metasrv/".to_string(),
logging: LoggingOptions {
dir: "/tmp/greptimedb/logs".to_string(),