Skip to content

Commit

Permalink
This is an automated cherry-pick of pingcap#53489
Browse files Browse the repository at this point in the history
Signed-off-by: ti-chi-bot <[email protected]>
  • Loading branch information
D3Hunter authored and ti-chi-bot committed Aug 26, 2024
1 parent 47279f5 commit c7dbdcb
Show file tree
Hide file tree
Showing 5 changed files with 798 additions and 8 deletions.
4 changes: 3 additions & 1 deletion pkg/ddl/backfilling_operators.go
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,9 @@ func (w *indexIngestBaseWorker) WriteChunk(rs *IndexRecordChunk) (count int, nex
failpoint.Return(0, nil, errors.New("mock write local error"))
})
failpoint.Inject("writeLocalExec", func(_ failpoint.Value) {
OperatorCallBackForTest()
if rs.Done {
OperatorCallBackForTest()
}
})

oprStartTime := time.Now()
Expand Down
Loading

0 comments on commit c7dbdcb

Please sign in to comment.