Skip to content

Commit

Permalink
This is an automated cherry-pick of #45369
Browse files Browse the repository at this point in the history
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
  • Loading branch information
GMHDBJD authored and ti-chi-bot committed Jul 14, 2023
1 parent 905a155 commit 3aa0f5e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
9 changes: 9 additions & 0 deletions br/pkg/lightning/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -745,6 +745,15 @@ func NewConfig() *Config {
Checksum: OpLevelRequired,
Analyze: OpLevelOptional,
PostProcessAtLast: true,
<<<<<<< HEAD
=======
ChecksumViaSQL: false,
},
Conflict: Conflict{
Strategy: "",
Threshold: -1,
MaxRecordRows: -1,
>>>>>>> fe5625ec74f (lightning:set default value of checksum-via-sql to false (#45369))
},
}
}
Expand Down
6 changes: 6 additions & 0 deletions br/tests/lightning_add_index/config1.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[tikv-importer]
backend = 'local'
add-index-by-sql = false

[post-restore]
checksum-via-sql = true

0 comments on commit 3aa0f5e

Please sign in to comment.