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 2015/09/30 05:58:04 UTC

[jira] [Resolved] (CASSANDRA-10419) Make JBOD compaction and flushing more robust

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

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

This is due to the fact that we can pick files from several drives and then put the result on a single other drive - which then might cause the disk usage to be very unbalanced.

CASSANDRA-6696 solves this by running a separate compaction strategy per disk on the machine, so data can never move between disks. 

> Make JBOD compaction and flushing more robust
> ---------------------------------------------
>
>                 Key: CASSANDRA-10419
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10419
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Jonathan Shook
>         Attachments: timeseries-study-overview-jbods.png
>
>
> With JBOD and several smaller disks, like SSDs at 1.2 TB or lower, it is possible to run out of space prematurely. With a sufficient ingestion rate, disk selection logic seems to overselect on certain JBOD targets. This causes a premature C* shutdown when there is a significant amount of space left. With DTCS, for example, it should be possible to utilize over 90% of the available space with certain settings. However in the scenario I tested, only about 50% was utilized, before a filesystem full error. (see below). It is likely that this is a scheduling challenge between high rates of ingest and smaller data directories. It would be good to use an anticipatory model if possible to more carefully select compaction targets according to fill rates. As well, if the largest sstable that can be supported is constrained by the largest JBOD extent, we should make that visible to the compaction logic where possible.
> The attached image shows a test with 12 1.2TB JBOD data directories. At the end, the utilizations are:
> 59GiB, 83GiB, 83GiB, 97GiB, 330GiB, 589GiB, 604GiB, 630GiB, 697GiB, 1.055TiB, 1.083TB, 1.092TiB,  



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