Skip to content

Commit a21d7be

Browse files
committed
roachtest: fix follower-reads/survival=region
Previously, this test allocated 6 nodes: 3 in us-east1, 2 in us-west1, and 1 in europe-west2. When using survival regions, we would have 5 replicas and 2 would be allowed to be virtually anywhere without constraints. However, this proved problematic in serverless environments, as the additional regions could fall outside the user's configured regions. We later modified this logic to use the same constraints as super regions, which now forces one region to have more replicas. This patch adjusts the test so that the Europe region has one more replica to account for this logic. Fixes: #143333 Fixes: #143199 Release note: None
1 parent 4d0005f commit a21d7be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cmd/roachtest/tests/follower_reads.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func registerFollowerReads(r registry.Registry) {
5656
6, /* nodeCount */
5757
spec.CPU(4),
5858
spec.Geo(),
59-
spec.GCEZones("us-east1-b,us-east1-b,us-east1-b,us-west1-b,us-west1-b,europe-west2-b"),
59+
spec.GCEZones("us-east1-b,us-east1-b,us-east1-b,us-west1-b,europe-west2-b,europe-west2-b"),
6060
),
6161
CompatibleClouds: registry.OnlyGCE,
6262
Suites: registry.Suites(registry.Nightly),

0 commit comments

Comments
 (0)