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 1. create a shard with primary and replica1 only
- run InitShardPrimary
- insert some data
2. take a backup 3.create a recovery keyspace after first backup
- bring up tablet_replica2 in the new keyspace
- check that new tablet has data from backup1
4. insert more data on the primary
5. take another backup 6. create a recovery keyspace after second backup
- bring up tablet_replica3 in the new keyspace
- check that new tablet has data from backup2
7. check that vtgate queries work correctly
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.