-
Type:
Bug
-
Status: Resolved
-
Priority:
Low
-
Resolution: Fixed
-
Fix Version/s: 2.1.0
-
Component/s: Legacy/Coordination
-
Labels:None
-
Severity:Low
-
Since Version:
Post CASSANDRA-2434, we should skip strict endpoint selection for ranges where RF == the number of nodes in the cluster otherwise we hit the following assertion in RangeStreamer.getAllRangesWithStrictSourcesFor
if (oldEndpoints.size() == strat.getReplicationFactor()) { oldEndpoints.removeAll(newEndpoints); assert oldEndpoints.size() == 1 : "Expected 1 endpoint but found " + oldEndpoints.size(); }
I think this is a fairly niche case, plus there's a workaround in the -Dcassandra.consistent.rangemovement=false option.