schedule

package
v0.0.0-...-e215c4f Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2019 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const CHANGE_NUM_CROSS = math.MaxInt32

Variables

This section is empty.

Functions

func StartScheduleJob

func StartScheduleJob(ctx context.Context, service *service.BaseService)

the job check range infos and fix it

Types

type BalanceJob

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

check master distribution check range num in diff node is balanced , one job only move one range

type FailoverJob

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

it check range num when not equal table.replica it will create or delete range to node

type GCJob

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

type MonitorJob

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

type ProcessJob

type ProcessJob interface {
	// contains filtered or unexported methods
}

type RangeTypeJob

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

Jump to

Keyboard shortcuts

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