cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (Updated) (JIRA)" <j...@apache.org>
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

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

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: https://issues.apache.org/jira/browse/CASSANDRA-2407
>             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)|https://issues.apache.org/jira/browse/CASSANDRA-2191?focusedCommentId=13010077&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13010077],
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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message