[ 
https://issues.apache.org/jira/browse/CASSANDRA-8329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marcus Eriksson updated CASSANDRA-8329:
---------------------------------------
    Attachment: 0001-get-new-sstable-directory-for-every-new-file-during-.patch

Attaching patch that gets a new directory for every new file during compaction.

> LeveledCompactionStrategy should split large files across data directories 
> when compacting
> ------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-8329
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8329
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: J.B. Langston
>            Assignee: Marcus Eriksson
>             Fix For: 2.0.12
>
>         Attachments: 
> 0001-get-new-sstable-directory-for-every-new-file-during-.patch
>
>
> Because we fall back to STCS for L0 when LCS gets behind, the sstables in L0 
> can get quite large during sustained periods of heavy writes.  This can 
> result in large imbalances between data volumes when using JBOD support.  
> Eventually these large files get broken up as L0 sstables are moved up into 
> higher levels; however, because LCS only chooses a single volume on which to 
> write all of the sstables created during a single compaction, the imbalance 
> is persisted.



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

Reply via email to