From 07d91400d23e7dc3bad9b5f96015b7925fa6270e Mon Sep 17 00:00:00 2001 From: WenyXu Date: Thu, 5 Dec 2024 12:56:35 +0000 Subject: [PATCH] chore: correct example config file --- config/config.md | 2 +- config/metasrv.example.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/config.md b/config/config.md index 15025b871125..47843b9361f3 100644 --- a/config/config.md +++ b/config/config.md @@ -286,7 +286,7 @@ | `data_home` | String | `/tmp/metasrv/` | The working home directory. | | `bind_addr` | String | `127.0.0.1:3002` | The bind address of metasrv. | | `server_addr` | String | `127.0.0.1:3002` | The communication server address for frontend and datanode to connect to metasrv, "127.0.0.1:3002" by default for localhost. | -| `store_addr` | String | `127.0.0.1:2379` | Store server address default to etcd store. | +| `store_addrs` | String | `127.0.0.1:2379` | Store server address default to etcd store. | | `selector` | String | `round_robin` | Datanode selector type.
- `round_robin` (default value)
- `lease_based`
- `load_based`
For details, please see "https://docs.greptime.com/developer-guide/metasrv/selector". | | `use_memory_store` | Bool | `false` | Store data in memory. | | `enable_telemetry` | Bool | `true` | Whether to enable greptimedb telemetry. | diff --git a/config/metasrv.example.toml b/config/metasrv.example.toml index b80d1c164e0e..49d04d068a75 100644 --- a/config/metasrv.example.toml +++ b/config/metasrv.example.toml @@ -8,7 +8,7 @@ bind_addr = "127.0.0.1:3002" server_addr = "127.0.0.1:3002" ## Store server address default to etcd store. -store_addr = "127.0.0.1:2379" +store_addrs = "127.0.0.1:2379" ## Datanode selector type. ## - `round_robin` (default value)