# TiKV config template
#  Human-readable big numbers:
#   File size(based on byte): KB, MB, GB, TB, PB
#    e.g.: 1_048_576 = "1MB"
#   Time(based on ms): ms, s, m, h
#    e.g.: 78_000 = "1.3m"

log-level = "debug"
log-file = "/tmp/tikv/tiflash_proxy/log/tiflash_proxy.log"

[readpool.storage]

[readpool.coprocessor]

[server]
labels = { zone = "engine" }
addr = "0.0.0.0:20432"
advertise-addr = "127.0.0.1:20432"
engine-addr = "127.0.0.1:3930"

[storage]
data-dir = "/tmp/tikv/tiflash_proxy"

[pd]
# This section will be overwritten by command line parameters
endpoints = ["127.0.0.1:2379"]

[metric]
#address = "172.16.30.31:9531"
#interval = "15s"
#job = "tikv"

[raftstore]
raftdb-path = ""
sync-log = true

[coprocessor]

[rocksdb]
wal-dir = ""

[rocksdb.defaultcf]
block-cache-size = "10GB"

[rocksdb.lockcf]
block-cache-size = "4GB"

[rocksdb.writecf]
block-cache-size = "4GB"

[raftdb]

[raftdb.defaultcf]
block-cache-size = "1GB"

[security]
ca-path = ""
cert-path = ""
key-path = ""

[import]
