Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // UseXb flag to use extra backup for recovery teseting. UseXb = false // XbArgs are the arguments for specifying xtrabackup. 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 ¶
InsertData inserts data.
func RestoreTablet ¶
func RestoreTablet(t *testing.T, localCluster *cluster.LocalProcessCluster, tablet *cluster.Vttablet, restoreKSName string, shardName string, keyspaceName string, commonTabletArg []string, restoreTime time.Time)
RestoreTablet performs a PITR restore.
func VerifyQueriesUsingVtgate ¶
func VerifyQueriesUsingVtgate(t *testing.T, session *vtgateconn.VTGateSession, query string, value string)
VerifyQueriesUsingVtgate verifies queries using vtgate.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.