Skip to content

Commit

Permalink
fix drop table where restore
Browse files Browse the repository at this point in the history
  • Loading branch information
lsy3993 committed Jun 14, 2024
1 parent 5286e32 commit 979c500
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/ccr/job.go
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,12 @@ func (j *Job) fullSync() error {
return err
}

// If srcTableName is empty, it may be deleted.
// No need to mapping it to dest table
if srcTableName == "" {
continue
}

destTableId, err := j.destMeta.GetTableId(srcTableName)
if err != nil {
return err
Expand Down

0 comments on commit 979c500

Please sign in to comment.