unshardedrecovery

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestMainImpl

func TestMainImpl(m *testing.M)

TestMainImpl creates cluster for unsharded recovery testing.

func TestRecoveryImpl

func TestRecoveryImpl(t *testing.T)

TestRecoveryImpl does following - create a shard with master and replica1 only - run InitShardMaster - insert some data - take a backup - insert more data on the master - take another backup - create a recovery keyspace after first backup - bring up tablet_replica2 in the new keyspace - check that new tablet does not have data created after backup1 - create second recovery keyspace after second backup - bring up tablet_replica3 in second keyspace - check that new tablet has data created after backup1 but not data created after backup2 - check that vtgate queries work correctly

Types

This section is empty.

Jump to

Keyboard shortcuts

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