[ 
https://issues.apache.org/jira/browse/CASSANDRA-10736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15144918#comment-15144918
 ] 

Aleksey Yeschenko commented on CASSANDRA-10736:
-----------------------------------------------

Committed as 
[1b201e959a6f77aeedd2549ed523200021d8c6e6|https://github.com/apache/cassandra/commit/1b201e959a6f77aeedd2549ed523200021d8c6e6]
 to 2.2 and merged with 3.0 and trunk using the provided branches, thanks.

Minor nit: the commit message shouldn't include the ticket number. Just copy 
whatever you used for CHANGES.txt sans the issue #.

> 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
>          Components: Distributed Metadata
>            Reporter: Joel Knighton
>            Assignee: Joel Knighton
>            Priority: Minor
>             Fix For: 2.2.6, 3.0.4, 3.4
>
>
> 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)

Reply via email to