mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-14 09:12:57 +00:00
* feat: trigger compaction on flush * chore: rebase develop * feat: add config item max_file_in_level0 and remove compaction_after_flush * fix: cr comments * chore: add unit test to cover Timestamp::new_inclusive * fix: workaround to fix future is not Sync * fix: future is not sync * fix: some cr comments
31 lines
582 B
TOML
31 lines
582 B
TOML
node_id = 42
|
|
mode = 'distributed'
|
|
rpc_addr = '127.0.0.1:3001'
|
|
rpc_hostname = '127.0.0.1'
|
|
rpc_runtime_size = 8
|
|
mysql_addr = '127.0.0.1:4406'
|
|
mysql_runtime_size = 4
|
|
enable_memory_catalog = false
|
|
|
|
[wal]
|
|
dir = "/tmp/greptimedb/wal"
|
|
file_size = '1GB'
|
|
purge_interval = '10m'
|
|
purge_threshold = '50GB'
|
|
read_batch_size = 128
|
|
sync_write = false
|
|
|
|
[storage]
|
|
type = 'File'
|
|
data_dir = '/tmp/greptimedb/data/'
|
|
|
|
[meta_client_opts]
|
|
metasrv_addrs = ['127.0.0.1:3002']
|
|
timeout_millis = 3000
|
|
connect_timeout_millis = 5000
|
|
tcp_nodelay = false
|
|
|
|
[compaction]
|
|
max_inflight_task = 4
|
|
max_file_in_level0 = 16
|