You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Russell Alexander Spitzer (JIRA)" <ji...@apache.org> on 2015/06/23 18:08:00 UTC

[jira] [Created] (CASSANDRA-9637) CFS selectAndReference Blocks for Compaction

Russell Alexander Spitzer created CASSANDRA-9637:
----------------------------------------------------

             Summary: CFS selectAndReference Blocks for Compaction
                 Key: CASSANDRA-9637
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9637
             Project: Cassandra
          Issue Type: Bug
          Components: Core
            Reporter: Russell Alexander Spitzer
            Assignee: Benedict
             Fix For: 2.1.x


The Spark Cassandra Connector uses dsecribe_splits_ex to deterimine token information about the C* cluster. On 2.1.4 this behaves normally and responds in a few milliseconds. On 2.1.5 the function blocks while compaction is running which basically makes the function unusable. Under the hood this function access sstable information using selectAndReference. A debugging session led us to determine that the error occurred because the code would simply spin (unable to gain references to compacting tables) while compaction was happening.

A fix was tested and proposed:
https://github.com/belliottsmith/cassandra/tree/fix-spinning



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)