Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
multiregionccl: deflake the multi-region cold start test
I ran the test 2500 times with no flakes. The core source of the flakes is the test depends on every range having an available replica in every region. Any amount of replica movement causes the test to fail because many regions only have a single available replica and temporary unavailability causes the sql servers to pick a replica that is available, but unreachable due to a networking hook injected by the test. There are a few independent changes in this PR: 1. It includes the settings from #100320. The lease transfer setting improves test performance and disabling load based splitting helps avoid replica migration. The test implicitly depends on every replica being available because regions only contain a single replica of some tables and sql servers are not allowed to communicate across regions. 2. Based on the insight from #96334#issuecomment-1492610753 the test checks the span conformance report for all servers instead of only one of the servers. 3. The test no longer triggers scatters while waiting for the span config bounds to conform. The scatters increased test flakiness and have less performance impact after #100349. 4. WaitForFullReplication is called to ensure replication queues are empty and there are no pending range moves. Fixes #96334 Release Note: None
- Loading branch information