cockroach icon indicating copy to clipboard operation
cockroach copied to clipboard

kvserver: rebalancing between stores on the same node fails

Open lunevalex opened this issue 5 years ago • 0 comments

Describe the problem

This problem was reported here by @dankinder https://forum.cockroachlabs.com/t/under-replicated-ranges-after-decommission/4239/3. A range has the following descriptor (n1,s5):1, (n18,s51):2, (n7,s20):3, (n1,s2):4LEARNER and the allocator attempts to remove (n1, s2) but it fails. This is a valid operation and should be allowed.

To Reproduce

This has been reproduced in TestValidateReplicationChanges, by reversing the order of removal operations in Test Case 14.

Expected behavior

The removal of the replica on (n1, s2) should be allowed, as it returns the cluster to a healthy state.

lunevalex avatar Feb 12 '21 21:02 lunevalex