package
9.0.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb.git
Documentation: pkg.go.dev
# Functions
GetTaskManager gets the task manager.
NewTaskManager creates a new task manager.
Row2SubTask converts a row to a subtask.
Row2Task converts a row to a task.
SetTaskManager sets the task manager.
# Constants
InsertSubtaskColumns is the columns used in insert subtask.
InsertTaskColumns is the columns used in insert task.
SubtaskColumns is the columns for subtask.
TaskColumns is the columns for task.
# Variables
ErrSubtaskNotFound is the error when can't find subtask by subtask_id and execId, i.e.
ErrTaskAlreadyExists is the error when we submit a task with the same task key.
ErrTaskChanged is the error when task changed by other operation.
ErrTaskNotFound is the error when we can't found task.
ErrTaskStateNotAllow is the error when the task state is not allowed to do the operation.
ErrUnstableSubtasks is the error when we detected that the subtasks are unstable, i.e.
TestChannel is used for test.
TestLastTaskID is used for test to set the last task ID.
# Structs
TaskExecInfo is the execution information of a task, on some exec node.
TaskManager is the manager of task and subtask.
# Interfaces
SessionExecutor defines the interface for executing SQLs in a session.
TaskHandle provides the interface for operations needed by Scheduler.