[
https://issues.apache.org/jira/browse/CASSANDRA-14214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16361427#comment-16361427
]
Joseph Lynch commented on CASSANDRA-14214:
------------------------------------------
[~krummas] do you think it would be useful to have this as a compaction param
(e.g. {{never_purge_tombstones }} similar to
{{unchecked_tombstone_compaction}})? For example, if a user wants to use this
option to rescue a single machine this patch is awesome, but if they want to
set it on the entire cluster just for that particular CF a compaction parameter
may be easier? If you think this is a good idea I can take a whack at a patch
and submit it as a separate jira. This option has been a lifesaver for us for
clusters when compaction falls behind because we can get 100-1000x faster
compactions, rescue the cluster, and then disable it again.
Separately I was thinking that for TWCS or other "write once with TTL" column
families it may be good to set {{never_purge_tombstones}} permanently if the
user already has {{ignore_overlapping}} set (via
{{unsafe_aggressive_sstable_expiration}}). Namely I don't think we need the
short circuit on [line 176
|https://github.com/apache/cassandra/blob/0f58f6c6501518e57ba021cb959b288fd533f472/src/java/org/apache/cassandra/db/compaction/CompactionController.java#L176-L195]
if {{ignoreOverlaps}} is true right?
> Make it possible to change NEVER_PURGE_TOMBSTONES during runtime
> ----------------------------------------------------------------
>
> Key: CASSANDRA-14214
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14214
> Project: Cassandra
> Issue Type: Improvement
> Reporter: Marcus Eriksson
> Assignee: Marcus Eriksson
> Priority: Major
> Fix For: 4.x
>
>
> If a node gets behind on compaction it could be good to be able to flip the
> NEVER_PURGE_TOMBSTONES flag to speed up compactions during runtime.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]