Joel Knighton created CASSANDRA-10736:
-----------------------------------------
Summary: TestTopology.simple_decommission_test failing due to
assertion triggered by SizeEstimatesRecorder
Key: CASSANDRA-10736
URL: https://issues.apache.org/jira/browse/CASSANDRA-10736
Project: Cassandra
Issue Type: Bug
Reporter: Joel Knighton
Priority: Minor
Example
[here|http://cassci.datastax.com/job/cassandra-2.2_dtest/369/testReport/junit/topology_test/TestTopology/simple_decommission_test/].
{{SizeEstimatesRecorder}} can race with decommission when it tries to get the
primary ranges for a node.
This is because {{getPredecessor}} in {{TokenMetadata}} hits an assertion if
the token is no longer in {{TokenMetadata}}.
This no longer occurs in 3.0 because this assertion has been removed and
replace with different data.
In both cases, the relationship between the set of tokens in
{{getPrimaryRangesFor}} (passed in as an argument) and the set of tokens used
in calls by {{getPredecessor}} (the system ones) should be investigated.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)