From d89248752b86a8ab69b48452d81357f06412b402 Mon Sep 17 00:00:00 2001 From: Ti Chi Robot Date: Thu, 19 May 2022 16:56:40 +0800 Subject: [PATCH] ticdc: synchronize data in the new collations (#8584) (#8686) --- ticdc/manage-ticdc.md | 12 ++++++------ ticdc/troubleshoot-ticdc.md | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ticdc/manage-ticdc.md b/ticdc/manage-ticdc.md index 7669f9dfc3c49..3c1d913d74a1a 100644 --- a/ticdc/manage-ticdc.md +++ b/ticdc/manage-ticdc.md @@ -592,11 +592,7 @@ protocol = "default" ## Output the historical value of a Row Changed Event New in v4.0.5 -> **Warning:** -> -> Currently, outputting the historical value of a Row Changed Event is still an experimental feature. It is **NOT** recommended to use it in the production environment. - -In the default configuration, the Row Changed Event of TiCDC Open Protocol output in a replication task only contains the changed value, not the value before the change. Therefore, the output value neither supports the [new collation framework](/character-set-and-collation.md#new-framework-for-collations) introduced in TiDB v4.0, nor can be used by the consumer ends of TiCDC Open Protocol as the historical value of a Row Changed Event. +In the default configuration, the Row Changed Event of TiCDC Open Protocol output in a replication task only contains the changed value, not the value before the change. Therefore, the output value cannot be used by the consumer ends of TiCDC Open Protocol as the historical value of a Row Changed Event. Starting from v4.0.5, TiCDC supports outputting the historical value of a Row Changed Event. To enable this feature, specify the following configuration in the `changefeed` configuration file at the root level: @@ -606,7 +602,11 @@ Starting from v4.0.5, TiCDC supports outputting the historical value of a Row Ch enable-old-value = true ``` -After this feature is enabled, you can see [TiCDC Open Protocol - Row Changed Event](/ticdc/ticdc-open-protocol.md#row-changed-event) for the detailed output format. The new TiDB v4.0 collation framework will also be supported when you use the MySQL sink. +This feature is enabled by default since v5.0. To learn the output format of the TiCDC Open Protocol after this feature is enabled, see [TiCDC Open Protocol - Row Changed Event](/ticdc/ticdc-open-protocol.md#row-changed-event). + +## Replicate tables with the new framework for collations enabled + +Starting from v4.0.15, v5.0.4, v5.1.1 and v5.2.0, TiCDC supports tables that have enabled [new framework for collations](/character-set-and-collation.md#new-framework-for-collations). ## Replicate tables without a valid index diff --git a/ticdc/troubleshoot-ticdc.md b/ticdc/troubleshoot-ticdc.md index b322da9ba006e..721e74f0fbf4b 100644 --- a/ticdc/troubleshoot-ticdc.md +++ b/ticdc/troubleshoot-ticdc.md @@ -472,4 +472,4 @@ When the sink is TiDB or MySQL, the users of the downstream database need the fo - `Alter` - `Create View` -If you need to replicate `recover table` to the downstream TiDB, the `Super` permission is required. +If you need to replicate `recover table` to the downstream TiDB, you should have the `Super` permission.