package
9.0.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb.git
Documentation: pkg.go.dev

# Packages

# Functions

ClearTaskExecutors is only used in test.
GetTaskExecutorFactory gets taskExecutorFactory by task type.
NewBaseTaskExecutor creates a new BaseTaskExecutor.
NewManager creates a new task executor Manager.
RegisterTaskType registers the task type.

# Variables

ErrCancelSubtask is the cancel cause when cancelling subtasks.
ErrNonIdempotentSubtask means the subtask is left in running state and is not idempotent, so cannot be run again.
MaxSubtaskCheckInterval is the max interval to check whether there are subtasks to run.
SubtaskCheckInterval is the interval to check whether there are subtasks to run.
TaskCheckInterval is the interval to check whether there are tasks to run.

# Structs

BaseTaskExecutor is the base implementation of TaskExecutor.
EmptyStepExecutor is an empty Executor.
Manager monitors the task table and manages the taskExecutors.

# Interfaces

Extension extends the TaskExecutor.
TaskExecutor is the executor for a task.
TaskTable defines the interface to access the task table.

# Type aliases

TaskTypeOption is the option of TaskType.