cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (Updated) (JIRA)" <>
Subject [jira] [Updated] (CASSANDRA-2407) Compaction thread should try to empty a bucket before moving on
Date Fri, 28 Oct 2011 16:23:33 GMT


Jonathan Ellis updated CASSANDRA-2407:

    Attachment: 2407.txt

I left it as a for loop (so we can handle the another-thread-already-compacting-this-CF case),
and relies on the re-submit to get the desired behavior of compaction small sstables first.
 The break after one compaction avoids starving other CFs.
> Compaction thread should try to empty a bucket before moving on
> ---------------------------------------------------------------
>                 Key: CASSANDRA-2407
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Stu Hood
>            Assignee: Pavel Yaskevich
>            Priority: Minor
>              Labels: compaction
>             Fix For: 1.0.2
>         Attachments: 2407.txt
> As suggested by Aaron Morton [(1)|],
a compaction thread should attempt to empty a bucket before moving on to a larger bucket.
This would change the submitMinorIfNeeded {{for}} loop into a while loop that regenerated
the buckets and started from the bottom after each successful compaction.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message