[
https://issues.apache.org/jira/browse/CASSANDRA-134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jun Rao updated CASSANDRA-134:
------------------------------
Attachment: issue134.patchv2
Upload patch v2.
1. make flushPeriod configurable per CF.
2. update storage-conf.xml with the new configure parameter.
Currently, flushPeriod only deals with application CFs, not system CFs. Among
the system CFs, we probably only want to flush hints_. However, hinted handoff
logic already flushes that CF periodically.
> 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, issue134.patchv2
>
>
> 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.