Max Melentyev created CASSANDRA-21368:
-----------------------------------------
Summary: UCS: unsafe_aggressive_sstable_expiration is ignored in
some cases
Key: CASSANDRA-21368
URL: https://issues.apache.org/jira/browse/CASSANDRA-21368
Project: Apache Cassandra
Issue Type: Bug
Reporter: Max Melentyev
Hi,
`unsafe_aggressive_sstable_expiration` in UCS is used when it collects
compaction candidates
([source|https://github.com/apache/cassandra/blob/890ba2a3645b333f6c5e8793252e593c127204cf/src/java/org/apache/cassandra/db/compaction/UnifiedCompactionStrategy.java#L444]),
but this option is ignored when CompactionTask gets the same list later
([source|https://github.com/apache/cassandra/blob/890ba2a3645b333f6c5e8793252e593c127204cf/src/java/org/apache/cassandra/db/compaction/CompactionTask.java#L184]).
TWCS, another strategy that has `unsafe_aggressive_sstable_expiration`, makes
sure that ignoreOverlaps is stored for a task
([source|https://github.com/apache/cassandra/blob/890ba2a3645b333f6c5e8793252e593c127204cf/src/java/org/apache/cassandra/db/compaction/TimeWindowCompactionTask.java#L40])
and then used in `controller.getFullyExpiredSSTables()` call.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]