Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-19704

UnsupportedOperationException is thrown when no space for LCS

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    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

      Attachments

        1. ci_summary.html
          8 kB
          Caleb Rackliffe
        2. ci_summary-1.html
          29 kB
          Caleb Rackliffe
        3. ci_summary-2.html
          6 kB
          Caleb Rackliffe
        4. ci_summary-3.html
          166 kB
          Caleb Rackliffe

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            maedhroz Caleb Rackliffe Assign to me
            jasonstack Zhao Yang
            Caleb Rackliffe
            Marcus Eriksson, Zhao Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1.5h
                1.5h

                Slack

                  Issue deployment