You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Matt Stump (JIRA)" <ji...@apache.org> on 2014/07/22 19:28:38 UTC
[jira] [Created] (CASSANDRA-7589) Option to disable min timestamp
check for TTL compaction enhancements
Matt Stump created CASSANDRA-7589:
-------------------------------------
Summary: Option to disable min timestamp check for TTL compaction enhancements
Key: CASSANDRA-7589
URL: https://issues.apache.org/jira/browse/CASSANDRA-7589
Project: Cassandra
Issue Type: Improvement
Components: Core
Reporter: Matt Stump
Priority: Minor
As part of CASSANDRA-5228 we added an enhancement to unlink SSTables for TTL use cases if certain checks are met. One of those checks is that for an SSTable to be deleted the maximum timestamp must not be less than the minimum timestamp for all other SSTables. This makes sense for use cases where GC grace is >= the TTL, or use case where deletes are performed by the application.
For use cases where GC grace is less than the TTL, and where deletes are only performed via TTL then these checks result in SSTables that could be safely deleted sticking around for some time. In practice the TTL related enhancements kick in very infrequently and most SSTables go through the normal compaction process.
What I propose is a CF level setting that disables the check, so that an SSTable can be unlinked once time() >= max TTL.
--
This message was sent by Atlassian JIRA
(v6.2#6252)