Skip to content

Commit

Permalink
br: fix br integration test 6.5.8 (#50740)
Browse files Browse the repository at this point in the history
close #50741
  • Loading branch information
Leavrth authored Jan 26, 2024
1 parent 6fc4f4d commit 44f39e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions br/pkg/restore/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -2901,12 +2901,12 @@ func CheckNewCollationEnable(
if backupNewCollationEnable == "" {
if CheckRequirements {
return enabled, errors.Annotatef(berrors.ErrUnknown,
"the value 'new_collations_enabled_on_first_bootstrap' not found in backupmeta. "+
"the config 'new_collations_enabled_on_first_bootstrap' not found in backupmeta. "+
"you can use \"SELECT VARIABLE_VALUE FROM mysql.tidb WHERE VARIABLE_NAME='new_collations_enabled_on_first_bootstrap';\" to manually check the config. "+
"if you ensure the value 'new_collations_enabled_on_first_bootstrap' in backup cluster is as same as restore cluster, use --check-requirements=false to skip this check",
)
}
log.Warn("the config 'new_collations_enabled_on_first_bootstrap' is not in backupmeta")
log.Warn("the config 'new_collations_enabled_on_first_bootstrap' is not found in backupmeta")
return enabled, nil
}

Expand Down

0 comments on commit 44f39e9

Please sign in to comment.