You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Marcus Eriksson (JIRA)" <ji...@apache.org> on 2018/01/19 12:42:02 UTC

[jira] [Resolved] (CASSANDRA-14177) Why LCS create one large temp file in one disk when add New Node or after rebuild

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

Marcus Eriksson resolved CASSANDRA-14177.
-----------------------------------------
    Resolution: Duplicate

you can probably use CASSANDRA-6621 to avoid this - set {{-Dcassandra.disable_stcs_in_l0=true}} on startup

If you upgrade to 2.2 you would most likely benefit from CASSANDRA-7460

and in 3.11 you would be helped by CASSANDRA-6696 - if you have 12 data directories it would probably be a good idea to start evaluating that

> Why LCS create one large temp file in one disk when add New Node or after rebuild
> ---------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-14177
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14177
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Compaction
>            Reporter: zhaoyan
>            Priority: Major
>
> Cassandra 2.1.15
> we use LCS  12*2T disks  ,   2~3T per node.
> there is one problem after we add one new node or rebuild from anthoer DC.
> At the new node.
> the SSTables in each level will changes like this:
> step 1:  [12341/4, 0, 0, 0, 0, 0, 0, 0, 0]
> =>
> step 2:  [18/4, 10, 17, 0, 0, 0, 0, 0, 0]
> =>
> step 3: [0, 10, 103/100, 1004/1000, 1622, 0, 0, 0, 0]
>  
> during the process, there will be one large compaction task in step 2.  and produce a large temporary file in only one disk.  then the large temporary  file will split many small files.
> but sometimes, the large temporary  file is too large. the 2T disk is not enough for it.  then the compaction task failed.....
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org