[ https://issues.apache.org/jira/browse/CASSANDRA-19704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Caleb Rackliffe updated CASSANDRA-19704: ---------------------------------------- Fix Version/s: 4.0.14 4.1.6 5.0 5.1 (was: 5.x) (was: 4.0.x) (was: 4.1.x) (was: 5.0.x) Since Version: 4.0 Source Control Link: https://github.com/apache/cassandra/commit/d54646e40957ffc18f651753941fac3068b79f8e Resolution: Fixed Status: Resolved (was: Ready to Commit) Committed as https://github.com/apache/cassandra/commit/d54646e40957ffc18f651753941fac3068b79f8e > UnsupportedOperationException is thrown when no space for LCS > ------------------------------------------------------------- > > Key: CASSANDRA-19704 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19704 > Project: Cassandra > Issue Type: Bug > Components: Local/Compaction/LCS > Reporter: Zhao Yang > Assignee: Caleb Rackliffe > Priority: Normal > Fix For: 4.0.14, 4.1.6, 5.0, 5.1 > > Attachments: ci_summary-1.html, ci_summary-2.html, ci_summary-3.html, > ci_summary.html > > Time Spent: 10m > Remaining Estimate: 0h > > 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 -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org