Skip to content

Commit

Permalink
fix return error
Browse files Browse the repository at this point in the history
Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
  • Loading branch information
Lloyd-Pottiger committed Mar 15, 2024
1 parent 6cfbd2c commit b4dbfa2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions replicate/snapshot.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ func (sess *SnapshotReplicateSession) Run() error {
} else {
if err := sess.DataWarehousePool.LoadSnapshot(sess.SourceTable, fmt.Sprintf("%s.%s.*", sess.SourceDatabase, sess.SourceTable)); err != nil {
sess.logger.Error("Failed to load snapshot data into data warehouse", zap.Error(err))
return errors.Trace(err)
}
}
endTime := time.Now()
Expand Down

0 comments on commit b4dbfa2

Please sign in to comment.