gtids

package
v0.0.0-...-ba47dbf Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GTIDDiff

func GTIDDiff(replicaGTIDSet, sourceGTIDSet mysql.GTIDSet) (string, error)

func IsSlaveAhead

func IsSlaveAhead(slaveGtidSet, masterGtidSet GTIDSet) bool

func IsSlaveBehindOrEqual

func IsSlaveBehindOrEqual(slaveGtidSet, masterGtidSet GTIDSet) bool

func IsSplitBrained

func IsSplitBrained(slaveGtidSet, masterGtidSet GTIDSet, masterUUID uuid.UUID) bool

Types

type GTIDSet

type GTIDSet = mysql.GTIDSet

func ParseGtidSet

func ParseGtidSet(gtidset string) GTIDSet

Jump to

Keyboard shortcuts

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