Skip to content

Commit

Permalink
lightning:set default value of checksum-via-sql to false (#45369)
Browse files Browse the repository at this point in the history
close #45368
  • Loading branch information
GMHDBJD authored Jul 14, 2023
1 parent 752f6d1 commit fe5625e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion br/pkg/lightning/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -1447,7 +1447,7 @@ func NewConfig() *Config {
Checksum: OpLevelRequired,
Analyze: OpLevelOptional,
PostProcessAtLast: true,
ChecksumViaSQL: true,
ChecksumViaSQL: false,
},
Conflict: Conflict{
Strategy: "",
Expand Down
2 changes: 1 addition & 1 deletion br/tests/lightning_add_index/config1.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ backend = 'local'
add-index-by-sql = false

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

0 comments on commit fe5625e

Please sign in to comment.