From cbf8dfa49f3e5744301072da4ac289ebec4d70a4 Mon Sep 17 00:00:00 2001 From: guo-shaoge Date: Sun, 5 Feb 2023 22:06:58 +0800 Subject: [PATCH] executor: use const varialbe for index merge handleWorkerPanic Signed-off-by: guo-shaoge --- executor/index_merge_reader.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/executor/index_merge_reader.go b/executor/index_merge_reader.go index 509500d597947..c4da6edc9f5cb 100644 --- a/executor/index_merge_reader.go +++ b/executor/index_merge_reader.go @@ -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), ) }() @@ -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