Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestMainImpl ¶
TestMainImpl creates cluster for unsharded recovery testing.
func TestRecoveryImpl ¶
TestRecoveryImpl does following - create a shard with primary and replica1 only - run InitShardPrimary - insert some data - take a backup - insert more data on the primary - 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.