mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2025-12-28 00:42:56 +00:00
* fix: pass datanode config file in distributed mode sqlness Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * fix clippy Signed-off-by: Ruihang Xia <waynestxia@gmail.com> --------- Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
28 lines
495 B
Plaintext
28 lines
495 B
Plaintext
node_id = 1
|
|
mode = 'distributed'
|
|
require_lease_before_startup = true
|
|
rpc_addr = '127.0.0.1:4100'
|
|
rpc_hostname = '127.0.0.1'
|
|
rpc_runtime_size = 8
|
|
|
|
[wal]
|
|
file_size = '1GB'
|
|
purge_interval = '10m'
|
|
purge_threshold = '10GB'
|
|
read_batch_size = 128
|
|
sync_write = false
|
|
|
|
[storage]
|
|
type = 'File'
|
|
data_home = '{data_home}'
|
|
|
|
[meta_client_options]
|
|
metasrv_addrs = ['127.0.0.1:3002']
|
|
timeout_millis = 3000
|
|
connect_timeout_millis = 5000
|
|
tcp_nodelay = false
|
|
|
|
[procedure]
|
|
max_retry_times = 3
|
|
retry_delay = "500ms"
|