lag

package
v0.0.0-...-f9713b7 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	OrchdbName = "orchestrator"

	HostDBName            = "mysql"
	ReplicationLagSeconds = 60

	SlaveIPList       []SlaveIP
	SlaveStatusQuerys = [1]string{"SHOW SLAVE STATUS"}

	LagColumnList []int
)

Functions

func CheckSlaveLag

func CheckSlaveLag(ClusterName string, HostIP string, BackendPort string) error

Types

type LagColumn

type LagColumn struct {
	ClusterAlias        string
	SecondsBehindMaster string
}

type SlaveIP

type SlaveIP struct {
	Physical_ip string
	Port        string
}

Jump to

Keyboard shortcuts

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