Skip to content

Commit

Permalink
This is an automated cherry-pick of #57945
Browse files Browse the repository at this point in the history
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
  • Loading branch information
tangenta authored and ti-chi-bot committed Dec 9, 2024
1 parent 2061937 commit 18e2247
Show file tree
Hide file tree
Showing 3 changed files with 7,474 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/ddl/ddl.go
Original file line number Diff line number Diff line change
Expand Up @@ -852,6 +852,7 @@ func (d *ddl) close() {

startTime := time.Now()
d.cancel()
failpoint.InjectCall("afterDDLCloseCancel")
d.wg.Wait()
d.ownerManager.Cancel()
d.schemaSyncer.Close()
Expand Down
Loading

0 comments on commit 18e2247

Please sign in to comment.