[
https://issues.apache.org/jira/browse/CASSANDRA-19704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17860003#comment-17860003
]
Caleb Rackliffe edited comment on CASSANDRA-19704 at 6/25/24 7:33 PM:
----------------------------------------------------------------------
4.0 patch: [https://github.com/apache/cassandra/pull/3385] CI:
[^ci_summary.html]
4.1 patch: [https://github.com/apache/cassandra/pull/3386] CI: TODO
was (Author: maedhroz):
4.0 patch: [https://github.com/apache/cassandra/pull/3385] CI:
[^ci_summary.html]
> 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.x, 4.1.x, 5.0.x, 5.x
>
> Attachments: ci_summary.html
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]