[
https://issues.apache.org/jira/browse/CASSANDRA-4174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yuki Morishita updated CASSANDRA-4174:
--------------------------------------
Attachment: 4174-1.1.txt
I posted this issue as "Improvement", so it makes sense to put this in 1.1.1. :)
Patch attached for 1.1 branch.
> 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
>
> Attachments: 4174-1.0.txt, 4174-1.1.txt
>
>
> 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