From d6b7562e8594980b564b278002a6ef48fc6dd4e5 Mon Sep 17 00:00:00 2001 From: gmhdbjd Date: Fri, 14 Jul 2023 17:34:00 +0800 Subject: [PATCH] set default value of checksum-via-sql to false --- br/pkg/lightning/config/config.go | 2 +- br/tests/lightning_add_index/config1.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/br/pkg/lightning/config/config.go b/br/pkg/lightning/config/config.go index 89ec4a0512429..9f005c7df13f0 100644 --- a/br/pkg/lightning/config/config.go +++ b/br/pkg/lightning/config/config.go @@ -975,7 +975,7 @@ func NewConfig() *Config { Checksum: OpLevelRequired, Analyze: OpLevelOptional, PostProcessAtLast: true, - ChecksumViaSQL: true, + ChecksumViaSQL: false, }, } } diff --git a/br/tests/lightning_add_index/config1.toml b/br/tests/lightning_add_index/config1.toml index 36b03d49a1117..b3c4858eeafbe 100644 --- a/br/tests/lightning_add_index/config1.toml +++ b/br/tests/lightning_add_index/config1.toml @@ -3,4 +3,4 @@ backend = 'local' add-index-by-sql = false [post-restore] -checksum-via-sql = false \ No newline at end of file +checksum-via-sql = true \ No newline at end of file