cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Eriksson (JIRA)" <>
Subject [jira] [Updated] (CASSANDRA-8562) Fix checking available disk space before compaction starts
Date Mon, 05 Jan 2015 15:13:34 GMT


Marcus Eriksson updated CASSANDRA-8562:
    Attachment: 0001-Check-for-available-disk-space-before-starting-compa.patch

Attaching patch that checks if we have enough space for the sstables created by the compaction

For LCS it sums up all data directories that have space for at least one sstable.

Kept the reduce scope code in DiskAwareRunnable since removing it could break stuff for people
running their own custom CompactionTask

> Fix checking available disk space before compaction starts
> ----------------------------------------------------------
>                 Key: CASSANDRA-8562
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Marcus Eriksson
>            Assignee: Marcus Eriksson
>             Fix For: 2.0.12, 2.1.3
>         Attachments: 0001-Check-for-available-disk-space-before-starting-compa.patch
> When starting a compaction we check if there is enough disk space available to start
it, otherwise we might (for STCS) reduce the compaction so that the result could fit. Now
(since CASSANDRA-8329) we check for the directory to write to a lot later and this can reduce
the compaction after we have created the scanners.

This message was sent by Atlassian JIRA

View raw message