You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Edward Capriolo (JIRA)" <ji...@apache.org> on 2012/08/22 01:48:38 UTC
[jira] [Updated] (CASSANDRA-4565) TTL columns with older then
gcgrace do not need to flush
[ https://issues.apache.org/jira/browse/CASSANDRA-4565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Edward Capriolo updated CASSANDRA-4565:
---------------------------------------
Attachment: cassandra-4565.patch.1.txt
First attempt at a patch. Test passes, but we will likely refine this later.
> TTL columns with older then gcgrace do not need to flush
> --------------------------------------------------------
>
> Key: CASSANDRA-4565
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4565
> Project: Cassandra
> Issue Type: Improvement
> Reporter: Edward Capriolo
> Assignee: Edward Capriolo
> Attachments: cassandra-4565.patch.1.txt
>
>
> With memcache many people are willing to sacrifice durability for performance. Cassandra has a TimeToLive feature that can be used in caching scenarios with low values for gc_grace_seconds. However from a code dive it seems that cassandra will always write TTL to disk, even those that are beyond gc_grace_seconds. If a user very large memtables,small ttl, and low gc_grace it is possible that writing memtables can be skipped entirely in some scenarios.
--
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