From b2f0ba68160628282058a223090cbfb5f7220543 Mon Sep 17 00:00:00 2001 From: Ruihao Chen Date: Mon, 9 Dec 2024 10:21:32 +0800 Subject: [PATCH 1/4] Update sync_diff_inspector doc --- sync-diff-inspector/sync-diff-inspector-overview.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sync-diff-inspector/sync-diff-inspector-overview.md b/sync-diff-inspector/sync-diff-inspector-overview.md index 15c2c8e155240..eaed2aed875bb 100644 --- a/sync-diff-inspector/sync-diff-inspector-overview.md +++ b/sync-diff-inspector/sync-diff-inspector-overview.md @@ -72,6 +72,9 @@ check-thread-count = 4 # If enabled, SQL statements is exported to fix inconsistent tables. export-fix-sql = true +# Only compares the data instead of the table structure. +check-data-only = false + # Only compares the table structure instead of the data. check-struct-only = false From 67b98a6ab712aa1e8d0c5fcc24c04b9d4b7602ad Mon Sep 17 00:00:00 2001 From: Ruihao Chen Date: Mon, 9 Dec 2024 11:16:35 +0800 Subject: [PATCH 2/4] update doc --- sync-diff-inspector/sync-diff-inspector-overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sync-diff-inspector/sync-diff-inspector-overview.md b/sync-diff-inspector/sync-diff-inspector-overview.md index eaed2aed875bb..4dad4f9325736 100644 --- a/sync-diff-inspector/sync-diff-inspector-overview.md +++ b/sync-diff-inspector/sync-diff-inspector-overview.md @@ -72,7 +72,7 @@ check-thread-count = 4 # If enabled, SQL statements is exported to fix inconsistent tables. export-fix-sql = true -# Only compares the data instead of the table structure. +# Only compares the data instead of the table structure, this config is experimental feature. check-data-only = false # Only compares the table structure instead of the data. From 33316f962c4311c903c208b55b40573f0dd6e559 Mon Sep 17 00:00:00 2001 From: Ruihao Chen Date: Mon, 9 Dec 2024 11:17:34 +0800 Subject: [PATCH 3/4] update --- sync-diff-inspector/sync-diff-inspector-overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sync-diff-inspector/sync-diff-inspector-overview.md b/sync-diff-inspector/sync-diff-inspector-overview.md index 4dad4f9325736..63bc9bd31a3fa 100644 --- a/sync-diff-inspector/sync-diff-inspector-overview.md +++ b/sync-diff-inspector/sync-diff-inspector-overview.md @@ -72,7 +72,7 @@ check-thread-count = 4 # If enabled, SQL statements is exported to fix inconsistent tables. export-fix-sql = true -# Only compares the data instead of the table structure, this config is experimental feature. +# Only compares the data instead of the table structure, this config is an experimental feature. check-data-only = false # Only compares the table structure instead of the data. From 7067a0c8bb54665a57f97bd15fc39244dfb682e0 Mon Sep 17 00:00:00 2001 From: Ruihao Chen Date: Mon, 9 Dec 2024 15:13:50 +0800 Subject: [PATCH 4/4] address comments Co-authored-by: Aolin --- sync-diff-inspector/sync-diff-inspector-overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sync-diff-inspector/sync-diff-inspector-overview.md b/sync-diff-inspector/sync-diff-inspector-overview.md index 63bc9bd31a3fa..4a00e0f7e49a2 100644 --- a/sync-diff-inspector/sync-diff-inspector-overview.md +++ b/sync-diff-inspector/sync-diff-inspector-overview.md @@ -72,7 +72,7 @@ check-thread-count = 4 # If enabled, SQL statements is exported to fix inconsistent tables. export-fix-sql = true -# Only compares the data instead of the table structure, this config is an experimental feature. +# Only compares the data instead of the table structure. This configuration item is an experimental feature. It is not recommended that you use it in the production environment. check-data-only = false # Only compares the table structure instead of the data.