You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jun Rao (JIRA)" <ji...@apache.org> on 2009/05/05 19:19:32 UTC

[jira] Updated: (CASSANDRA-134) Support flush based on timer interval, in addtion to size

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

Jun Rao updated CASSANDRA-134:
------------------------------

    Attachment: issue134.patchv1

Attach a patch that schedules a background flusher that runs periodically, if a configuration parameter is set.

> Support flush based on timer interval, in addtion to size
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-134
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-134
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jun Rao
>            Assignee: Jun Rao
>         Attachments: issue134.patchv1
>
>
> Today, the CFs are flushed purely based on the size of the data accumulated in Memtable. If a table has multiple CFs and some CFs are updated at a much slower pace than others, this can prevent a larger number of log files from being deleted. This is because the CF bit in the log header is only turned off when a CF is flushed. A log can't be deleted until all CF bits in the header are cleared. One solution is to add a background flusher that periodically force-flushes every CF.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.