Skip to content

Commit

Permalink
resolve conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
3pointer committed Nov 11, 2024
1 parent 1b15125 commit 1acf675
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions br/pkg/task/restore.go
Original file line number Diff line number Diff line change
Expand Up @@ -826,17 +826,8 @@ func runRestore(c context.Context, g glue.Glue, cmdName string, cfg *RestoreConf
return errors.Trace(err)
}

<<<<<<< HEAD
var newTS uint64
if client.IsIncremental() {
newTS = restoreTS
}
ddlJobs := restore.FilterDDLJobs(client.GetDDLJobs(), tables)
ddlJobs = restore.FilterDDLJobByRules(ddlJobs, restore.DDLJobBlockListRule)
=======
ddlJobs := FilterDDLJobs(client.GetDDLJobs(), tables)
ddlJobs = FilterDDLJobByRules(ddlJobs, DDLJobBlockListRule)
>>>>>>> 08147e7e258 (Incremental restore: fix the issue that backfill data is not covered by newTS (#54430))

err = client.PreCheckTableTiFlashReplica(ctx, tables, cfg.tiflashRecorder)
if err != nil {
Expand Down Expand Up @@ -893,7 +884,7 @@ func runRestore(c context.Context, g glue.Glue, cmdName string, cfg *RestoreConf
// or backfilled data in upstream may not be covered by
// the new ts.
// see https://github.com/pingcap/tidb/issues/54426
newTS, err = restore.GetTSWithRetry(ctx, mgr.GetPDClient())
newTS, err = client.GetTSWithRetry(ctx)
if err != nil {
return errors.Trace(err)
}
Expand Down

0 comments on commit 1acf675

Please sign in to comment.