Unnecessary compaction happens when streaming
---------------------------------------------

                 Key: CASSANDRA-4174
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4174
             Project: Cassandra
          Issue Type: Improvement
          Components: Core
    Affects Versions: 1.0.0
            Reporter: Yuki Morishita
            Assignee: Yuki Morishita
            Priority: Minor
             Fix For: 1.0.10


When streaming session finishes, streamed sstabls are added to CFS one by one 
using 
ColumnFamilyStore#addSSTable(https://github.com/apache/cassandra/blob/cassandra-1.0.9/src/java/org/apache/cassandra/streaming/StreamInSession.java#L141).
 This method submits compaction in 
background(https://github.com/apache/cassandra/blob/cassandra-1.0.9/src/java/org/apache/cassandra/db/ColumnFamilyStore.java#L946),
 and end up with unnecessary compaction tasks behind.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to