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

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

zhaoyan created CASSANDRA-14177:
-----------------------------------

             Summary: 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


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