nodesmigrator

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GlobalBatchTable = false
View Source
var GlobalBatchTarget = false

Functions

func MigrateAllReplicaToNodes

func MigrateAllReplicaToNodes(client *executor.Client, from []string, to []string, tables []string, batchTable bool,
	batchTarget bool, targetCount int, concurrent int) error

Types

type Action

type Action struct {
	// contains filtered or unexported fields
}

type MigrateActions

type MigrateActions struct {
	// contains filtered or unexported fields
}

type Migrator

type Migrator struct {
	// contains filtered or unexported fields
}

type MigratorNode

type MigratorNode struct {
	// contains filtered or unexported fields
}

func (*MigratorNode) String

func (m *MigratorNode) String() string

type Replica

type Replica struct {
	// contains filtered or unexported fields
}

func (*Replica) String

func (r *Replica) String() string

type ReplicasSlice

type ReplicasSlice []*Replica

func (ReplicasSlice) Len

func (r ReplicasSlice) Len() int

func (ReplicasSlice) Less

func (r ReplicasSlice) Less(i, j int) bool

func (ReplicasSlice) Swap

func (r ReplicasSlice) Swap(i, j int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL