You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Rick Branson (JIRA)" <ji...@apache.org> on 2014/08/12 20:21:11 UTC

[jira] [Created] (CASSANDRA-7758) Some gossip messages are very slow to process on vnode clusters

Rick Branson created CASSANDRA-7758:
---------------------------------------

             Summary: Some gossip messages are very slow to process on vnode clusters
                 Key: CASSANDRA-7758
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7758
             Project: Cassandra
          Issue Type: Bug
            Reporter: Rick Branson
            Assignee: Rick Branson


Both StorageService.getChangedRangesForLeaving and PendingRangeCalculatorService.calculatePendingRanges clone the TokenMetadata map once per range that a node covers. This is a very expensive operation on a cluster with vnodes since the TokenMetadata map can easily be tens of thousands of entries, even for a small cluster, and this runs thousands of times for each changing node. This can cause big cluster-wide slowdowns & problems in the GossipStage and PendingRangeCalculator thread pools. Processing just one message can generate enough garbage to pause the entire cluster simultaneously when one of these is being propagated. Patches forthcoming.



--
This message was sent by Atlassian JIRA
(v6.2#6252)