MCPcopy
hub / github.com/pingcap/tidb / MiniTaskExecutor

Interface MiniTaskExecutor

pkg/disttask/importinto/subtask_executor.go:38–40  ·  view source on GitHub ↗

MiniTaskExecutor is the interface for a minimal task executor. exported for testing.

Source from the content-addressed store, hash-verified

36// MiniTaskExecutor is the interface for a minimal task executor.
37// exported for testing.
38type MiniTaskExecutor interface {
39 Run(ctx context.Context, dataWriter, indexWriter backend.EngineWriter) error
40}
41
42// importMinimalTaskExecutor is a minimal task executor for IMPORT INTO.
43type importMinimalTaskExecutor struct {

Callers 8

runTestCaseMethod · 0.65
buildTestBinaryFunction · 0.65
generateBuildCacheFunction · 0.65
buildTestBinaryMultiFunction · 0.65
listNewTestCasesFunction · 0.65
TestGetTSWithRetryFunction · 0.65

Implementers 15

OverRegionsInRangeControllerbr/pkg/restore/log_client/import_retry
writerPipedumpling/export/writer_util.go
importMinimalTaskExecutorpkg/disttask/importinto/subtask_execut
MockMiniTaskExecutorpkg/disttask/importinto/mock/import_mo
MockMiniTaskExecutorMockRecorderpkg/disttask/importinto/mock/import_mo
Plannerpkg/disttask/framework/planner/planner
BaseTaskExecutorpkg/disttask/framework/taskexecutor/ta
MockTaskExecutorpkg/disttask/framework/mock/task_execu
MockTaskExecutorMockRecorderpkg/disttask/framework/mock/task_execu
topnStatsMergeWorkerpkg/statistics/handle/globalstats/merg
Poolpkg/resourcemanager/pool/spool/spool.g
MPPFailedStoreProberpkg/store/copr/mpp_probe.go

Calls

no outgoing calls

Tested by

no test coverage detected