Skip to content

Commit

Permalink
executor: use const varialbe for index merge handleWorkerPanic (#41066)
Browse files Browse the repository at this point in the history
close #41065
  • Loading branch information
guo-shaoge authored Feb 6, 2023
1 parent 2b995ed commit 833e0b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions executor/index_merge_reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ func (e *IndexMergeReaderExecutor) startPartialIndexWorker(ctx context.Context,
}
}
},
handleWorkerPanic(ctx, e.finished, fetchCh, nil, "partialIndexWorker"),
handleWorkerPanic(ctx, e.finished, fetchCh, nil, partialIndexWorkerType),
)
}()

Expand Down Expand Up @@ -516,7 +516,7 @@ func (e *IndexMergeReaderExecutor) startPartialTableWorker(ctx context.Context,
}
}
},
handleWorkerPanic(ctx, e.finished, fetchCh, nil, "partialTableWorker"),
handleWorkerPanic(ctx, e.finished, fetchCh, nil, partialTableWorkerType),
)
}()
return nil
Expand Down

0 comments on commit 833e0b9

Please sign in to comment.