Details
-
Bug
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
Low
Description
Example here.
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.