mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-04 04:12:55 +00:00
* feat: adds index size to region statistics * feat: adds the number of rows for region statistics * test: adds sqlness test for region_statistics * fix: test
38 lines
692 B
Plaintext
38 lines
692 B
Plaintext
node_id = 1
|
|
mode = 'distributed'
|
|
require_lease_before_startup = true
|
|
rpc_addr = '127.0.0.1:29410'
|
|
rpc_hostname = '127.0.0.1'
|
|
rpc_runtime_size = 8
|
|
|
|
[wal]
|
|
{{ if is_raft_engine }}
|
|
provider = "raft_engine"
|
|
file_size = '1GB'
|
|
purge_interval = '10m'
|
|
purge_threshold = '10GB'
|
|
read_batch_size = 128
|
|
sync_write = false
|
|
{{ else }}
|
|
provider = "kafka"
|
|
broker_endpoints = {kafka_wal_broker_endpoints | unescaped}
|
|
linger = "5ms"
|
|
{{ endif }}
|
|
|
|
[storage]
|
|
type = 'File'
|
|
data_home = '{data_home}'
|
|
|
|
[meta_client_options]
|
|
metasrv_addrs = ['127.0.0.1:29302']
|
|
timeout_millis = 3000
|
|
connect_timeout_millis = 5000
|
|
tcp_nodelay = false
|
|
|
|
[procedure]
|
|
max_retry_times = 3
|
|
retry_delay = "500ms"
|
|
|
|
[heartbeat]
|
|
interval = '1s'
|