package
3.0.0-rc.3+incompatible
Repository: https://github.com/vitessio/vitess.git
Documentation: pkg.go.dev

# Functions

AddMissingTaskID assigns a task id to each task in "tc".
AddTask adds a new task to an existing task container.
ExecuteVtctl runs vtctl using vtctlclient.
ExecuteVtworker executes the vtworker command in "args" via an RPC to "server".
MarkTaskFailed marks the task as failed.
MarkTaskSucceeded marks the task as done.
NewClusterOperationInstance creates a new cluster operation instance with one initial task.
NewScheduler creates a new instance.
NewTask creates a new task protobuf message for "taskName" with "parameters".
NewTaskContainer creates an empty task container.
NewTaskContainerWithSingleTask creates a new task container with exactly one task.

# Structs

ClusterOperationInstance is a runtime type which enhances the protobuf message "ClusterOperation" with runtime specific data.
CopySchemaShardTask runs vtctl CopySchemaShard to copy the schema from one shard to another.
HorizontalReshardingTask is a cluster operation which allows to increase the number of shards.
IDGenerator generates unique task and cluster operation IDs.
MigrateServedFromTask runs vtctl MigrateServedFrom to let vertically split out tables get served from the new destination keyspace.
MigrateServedTypesTask runs vtctl MigrateServedTypes to migrate a serving type from the source shard to the shards that it replicates to.
RebuildKeyspaceGraphTask runs vtctl RebuildKeyspaceGraph to migrate a serving type from the source shard to the shards that it replicates to.
Scheduler executes automation tasks and maintains the execution state.
SplitCloneTask runs SplitClone on a remote vtworker to split an existing shard.
SplitDiffTask runs SplitDiff on a remote vtworker to compare the old shard against its new split shards.
VerticalSplitCloneTask runs VerticalSplitClone on a remote vtworker to split out tables from an existing keyspace to a different keyspace.
VerticalSplitDiffTask runs VerticalSplitDiff on a remote vtworker to compare the split out tables against the source keyspace.
VerticalSplitTask is a cluster operation to split out specific tables of one keyspace to a different keyspace.
WaitForFilteredReplicationTask runs vtctl WaitForFilteredReplication to block until the destination master (i.e.

# Interfaces

Task implementations can be executed by the scheduler.