Open cockroach-teamcity opened 2 days ago
multitenant_admin_function_test.go:411: expected "type of replica being removed (VOTER_FULL) does not match
expectation for change: {ChangeType:REMOVE_NON_VOTER Target:n4,s4}" contains "ok" tenant=system query=`ALTER
RANGE RELOCATE NONVOTERS FROM 4 TO 5 FOR (SELECT min(range_id) FROM [SHOW RANGES FROM TABLE t]);`
leaseholder=4 replicas=[1 2 3 4] voting_replicas=[1 2 3] non_voting_replicas=[4] fromReplica=4 toReplica=5 row=0
col=2
It looks like the test was expecting to remove a non-voter replica, but it removed a voter.
This has failed in https://github.com/cockroachdb/cockroach/issues/129883 and https://github.com/cockroachdb/cockroach/issues/126541 as well; so I'm curious if the KV team has any advice on how to stabilize this further. Perhaps there is a testing knob that could help?
I can change the allocator interval to scan much faster so it can recover from this issue in the case of the race between the two sources of rebalancing.
sql.TestRelocateNonVoters failed on release-24.2 @ 08468de10d89483d52fecfcf3fb3892564e8df3a:
Parameters:
attempt=1
deadlock=true
run=1
shard=15
Help
See also: How To Investigate a Go Test Failure (internal)
/cc @cockroachdb/sql-foundationsThis test on roachdash | Improve this report!
Jira issue: CRDB-42824