cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Eriksson (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CASSANDRA-8562) Fix checking available disk space before compaction starts
Date Mon, 12 Jan 2015 11:33:35 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-8562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14273482#comment-14273482
] 

Marcus Eriksson edited comment on CASSANDRA-8562 at 1/12/15 11:32 AM:
----------------------------------------------------------------------

[~JoshuaMcKenzie] attaching the 2.1-patch, seems we have a bug in CompactionTask#reduceForLimitedScope
since CASSANDRA-6916 - we remove the biggest sstable from the sstables we compact, but we
never unmark it as compacting. Could you have a look at my fix?


was (Author: krummas):
[~JoshuaMcKenzie] attaching the 2.1-patch, seems we have a bug in CompactionTask#reduceForLimitedScope
since CASSANDRA-6916 - we remove the biggest sstable from the sstables we compact, but we
never unmark them as compacting. Could you have a look at my fix?

> Fix checking available disk space before compaction starts
> ----------------------------------------------------------
>
>                 Key: CASSANDRA-8562
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8562
>             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,
8562-2.1-v2.txt
>
>
> 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
(v6.3.4#6332)

Mime
View raw message