Skip to content

Commit

Permalink
fix ignoring error
Browse files Browse the repository at this point in the history
Signed-off-by: hillium <[email protected]>
  • Loading branch information
YuJuncen committed Dec 20, 2024
1 parent b8ef140 commit c1d7800
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion br/pkg/task/operator/checksum_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,9 @@ func (c *checksumTableCtx) runChecksum(ctx context.Context, reqs []request) ([]C
zap.Int64("total", int64(total)),
)
})
if err != nil {
return err
}
res := ChecksumResult{
DBName: req.dbName,
TableName: req.tableName,
Expand All @@ -256,7 +259,7 @@ func (c *checksumTableCtx) runChecksum(ctx context.Context, reqs []request) ([]C
resultsMu.Lock()
results = append(results, res)
resultsMu.Unlock()
return err
return nil
})
}

Expand Down

0 comments on commit c1d7800

Please sign in to comment.