-
Notifications
You must be signed in to change notification settings - Fork 718
/
pd.conf
44 lines (40 loc) · 923 Bytes
/
pd.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
tick-interval="50ms"
election-interval="300ms"
lease=1
tso-save-interval="1s"
[log]
level = "info"
[schedule]
# max-merge-region-size = 0
# max-merge-region-keys = 0
split-merge-interval = "5s"
max-snapshot-count = 3
max-pending-peer-count = 16
max-store-down-time = "100h"
leader-schedule-limit = 4
region-schedule-limit = 4
replica-schedule-limit = 8
merge-schedule-limit = 8
tolerant-size-ratio = 5.0
# customized schedulers, the format is as below
# if empty, it will use balance-leader, balance-region, hot-region as default
# [[schedule.schedulers]]
# type = "random-merge"
# args = []
# [[schedule.schedulers]]
# type = "shuffle-region"
# args = []
# [[schedule.schedulers]]
# type = "shuffle-leader"
# args = []
[[schedule.schedulers]]
type = "balance-region"
args = []
[[schedule.schedulers]]
type = "balance-leader"
args = []
[[schedule.schedulers]]
type = "hot-region"
args = []
[replication]
max-replicas=3