forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
partitionccl: modify partitioning tests to use more replicas
This changes the partitioning tests to use 9 replicas rather than 3 and specifies lease_preferences in addition to constraints to allow the same types of scans to work. This test was intended to help catch errors cockroachdb#40751 but somehow seems to reproduce cockroachdb#40213 even on master. ``` I190918 05:26:52.501218 53874 storage/replica_gc_queue.go:286 [n1,replicaGC,s1,r14/1:/Table/1{8-9}] destroying local data I190918 05:26:52.501282 53874 storage/store.go:2613 [n1,replicaGC,s1,r14/1:/Table/1{8-9}] removing replica r14/1 I190918 05:26:52.502818 53874 storage/replica_destroy.go:152 [n1,replicaGC,s1,r14/1:/Table/1{8-9}] removed 12 (0+12) keys in 1ms [clear=0ms commit=0ms] I190918 05:26:56.941153 80013 storage/replica_command.go:1580 [n4,replicate,s4,r14/10:/Table/1{8-9}] change replicas (add [(n1,s1):12LEARNER] remove []): existing descriptor r14:/Table/1{8-9} [(n6,s6):11, (n9,s9):2, (n8,s8):9, (n2,s2):7, (n4,s4):10, next=12, gen=26] F190918 05:26:57.019170 154 storage/store.go:4053 [n1,s1] found non-zero HardState.Commit on uninitialized replica [n1,s1,r14/?:{-}]. HS={Term:7 Vote:10 Commit:75 XXX_unrecognized:[]} ... ``` This reproduction occurs readily on this branch running roachprod stress: ``` make roachprod-stress CLUSTER=$USER-stress-2 PKG=./pkg/ccl/partitionccl TESTS=TestRepartitioning ``` Release note: None
- Loading branch information
Showing
1 changed file
with
47 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters