Skip to content

Commit

Permalink
Update stream.go
Browse files Browse the repository at this point in the history
  • Loading branch information
3pointer authored Nov 20, 2023
1 parent 83ccd96 commit 8074858
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions br/pkg/task/stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -1056,9 +1056,6 @@ func checkTaskExists(ctx context.Context, cfg *RestoreConfig) error {
return err
}
if len(tasks) > 0 {
<<<<<<< HEAD
return errors.Errorf("log backup task is running: %s, please stop the task before restore, and after PITR operation finished, create log-backup task again and create a full backup on this cluster", tasks[0].Info.Name)
=======
return errors.Errorf("log backup task is running: %s, "+
"please stop the task before restore, and after PITR operation finished, "+
"create log-backup task again and create a full backup on this cluster", tasks[0].Info.Name)
Expand All @@ -1073,7 +1070,6 @@ func checkTaskExists(ctx context.Context, cfg *RestoreConfig) error {
if !nameSet.Empty() {
return errors.Errorf("%splease stop changefeed(s) before restore", nameSet.MessageToUser())
}
>>>>>>> 95378e5bede (br: check the correct changefeed info when restore/import data (#47322))
}
return nil
}
Expand Down

0 comments on commit 8074858

Please sign in to comment.