Skip to content

Commit af5e527

Browse files
authored
ticdc: fix wrong config value of region-threshold (#20597)
1 parent 7b763ea commit af5e527

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ticdc/ticdc-changefeed-config.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ Info: {"upstream_id":7178706266519722477,"namespace":"default","id":"simple-repl
152152
- 该功能只在 Kafka changefeed 上生效,暂不支持 MySQL changefeed。
153153
- `enable-table-across-nodes` 开启后,有两种分配模式:
154154
155-
1. 按 Region 的数量分配,即每个 TiCDC 节点处理 Region 的个数基本相等。当某个表 Region 个数大于 `region-threshold` 值时,会将表分配到多个节点处理。`region-threshold` 默认值为 `10000`。
155+
1. 按 Region 的数量分配,即每个 TiCDC 节点处理 Region 的个数基本相等。当某个表 Region 个数大于 `region-threshold` 值时,会将表分配到多个节点处理。`region-threshold` 默认值为 `100000`。
156156
2. 按写入的流量分配,即每个 TiCDC 节点处理 Region 总修改行数基本相当。只有当表中每分钟修改行数超过 `write-key-threshold` 值时,该表才会生效。
157157
158158
两种方式配置一种即可生效,当 `region-threshold` 和 `write-key-threshold` 同时配置时,TiCDC 将优先采用按流量分配的模式,即 `write-key-threshold`。
@@ -162,7 +162,7 @@ Info: {"upstream_id":7178706266519722477,"namespace":"default","id":"simple-repl
162162
163163
#### `region-threshold`
164164
165-
- 默认值:`10000`
165+
- 默认值:`100000`
166166
167167
#### `write-key-threshold`
168168

0 commit comments

Comments
 (0)