From a48fef9876e8319dce964f38f7c1b9b915376f26 Mon Sep 17 00:00:00 2001 From: Ti Chi Robot Date: Thu, 14 Mar 2024 17:33:40 +0800 Subject: [PATCH] ticdc: update worker-number to worker-count (#16662) (#16770) --- ticdc/manage-ticdc.md | 4 ++-- ticdc/troubleshoot-ticdc.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ticdc/manage-ticdc.md b/ticdc/manage-ticdc.md index 14063f4817438..c8c71f6d0d2c8 100644 --- a/ticdc/manage-ticdc.md +++ b/ticdc/manage-ticdc.md @@ -430,7 +430,7 @@ cdc cli changefeed query --pd=http://10.0.10.25:2379 --changefeed-id=simple-repl ``` { "info": { - "sink-uri": "mysql://127.0.0.1:3306/?max-txn-row=20\u0026worker-number=4", + "sink-uri": "mysql://127.0.0.1:3306/?max-txn-row=20\u0026worker-count=4", "opts": {}, "create-time": "2020-08-27T10:33:41.687983832+08:00", "start-ts": 419036036249681921, @@ -549,7 +549,7 @@ Starting from v4.0.4, TiCDC supports modifying the configuration of the replicat ```shell cdc cli changefeed pause -c test-cf --pd=http://10.0.10.25:2379 -cdc cli changefeed update -c test-cf --pd=http://10.0.10.25:2379 --sink-uri="mysql://127.0.0.1:3306/?max-txn-row=20&worker-number=8" --config=changefeed.toml +cdc cli changefeed update -c test-cf --pd=http://10.0.10.25:2379 --sink-uri="mysql://127.0.0.1:3306/?max-txn-row=20&worker-count=8" --config=changefeed.toml cdc cli changefeed resume -c test-cf --pd=http://10.0.10.25:2379 ``` diff --git a/ticdc/troubleshoot-ticdc.md b/ticdc/troubleshoot-ticdc.md index 5989f4bce474b..776f5992a9531 100644 --- a/ticdc/troubleshoot-ticdc.md +++ b/ticdc/troubleshoot-ticdc.md @@ -160,7 +160,7 @@ To fix the error, take the following steps: {{< copyable "shell-regular" >}} ```shell - cdc cli changefeed update -c test-cf --pd=http://10.0.10.25:2379 --sink-uri="mysql://127.0.0.1:3306/?max-txn-row=20&worker-number=8" --config=changefeed.toml + cdc cli changefeed update -c test-cf --pd=http://10.0.10.25:2379 --sink-uri="mysql://127.0.0.1:3306/?max-txn-row=20&worker-count=8" --config=changefeed.toml ``` 4. Execute `cdc cli changfeed resume` to resume the replication task.