recovery

package
v0.16.3 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// UseXb flag to use extra backup for recovery teseting.
	UseXb  = false
	XbArgs = []string{
		"-backup_engine_implementation", "xtrabackup",
		"-xtrabackup_stream_mode=xbstream",
		"-xtrabackup_user=vt_dba",
		"-xtrabackup_backup_flags", fmt.Sprintf("--password=%s", dbPassword),
	}
)

Functions

func InsertData

func InsertData(t *testing.T, tablet *cluster.Vttablet, index int, keyspaceName string)

func RestoreTablet

func RestoreTablet(t *testing.T, localCluster *cluster.LocalProcessCluster, tablet *cluster.Vttablet, restoreKSName string, shardName string, keyspaceName string, commonTabletArg []string)

func VerifyQueriesUsingVtgate

func VerifyQueriesUsingVtgate(t *testing.T, session *vtgateconn.VTGateSession, query string, value string)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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