Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
lichunzhu committed Jul 12, 2021
1 parent fe39567 commit 549c93d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions v4/export/dump.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ func (d *Dumper) Dump() (dumpErr error) {
d.dumpSQL(writerCtx, taskChan)
}
close(taskChan)
_ = metaConn.Close()
if err := wg.Wait(); err != nil {
summary.CollectFailureUnit("dump table data", err)
return errors.Trace(err)
Expand Down

0 comments on commit 549c93d

Please sign in to comment.