You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2012/11/01 23:28:12 UTC

[jira] [Assigned] (CASSANDRA-4467) insufficient space for compaction when upgrade compaction strategy from SizeTiered to Leveled

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

Jonathan Ellis reassigned CASSANDRA-4467:
-----------------------------------------

    Assignee: Jason Brown  (was: Yuki Morishita)

Maybe one simple improvement would could make would be to have LeveledManifest.getCandidatesFor be disk-space aware and stop collecting L0 candidates before output space is exhausted.
                
> insufficient space for compaction when upgrade compaction strategy from SizeTiered to Leveled
> ---------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-4467
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4467
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.0.0
>         Environment: Ubuntu,Oracle Java 1.7,Cassandra 1.0.10
>            Reporter: Cheng Zhang
>            Assignee: Jason Brown
>            Priority: Minor
>             Fix For: 1.2.1
>
>
> Cassandra has two data directories as follow:
> cassandra-disk0 use about 500G, about 250G free space
> cassandra-disk1 use about 500G, about 250G free space
> The max data file is about 400G. When I upgrade from SizeTieredCompactionStrategy to LeveledCompactionStrategy, there is no space to do this, for the free space of every data directory is small than the largest data file. But the total free space is enough for compaction.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira