Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Degradation - Resource Management
-
Normal
-
Normal
-
User Report
-
All
-
None
-
Description
In CompactionTask#buildCompactionCandidatesForAvailableDiskSpace with LCS, if node has limited disk space and can't remove any sstable from L0 or L1 in LeveledCompactionTask#reduceScopeForLimitedSpace, LeveledCompactionTask#partialCompactionsAcceptable will throw UnsupportedOperationException.
We should handle LeveledCompactionTask#partialCompactionsAcceptable more gracefully with return level <= 1 or simply true since reduceScopeForLimitedSpace only removes sstable from L0 or L1.
Related https://issues.apache.org/jira/browse/CASSANDRA-17272