Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Fix Version/s: 0.6.9, 0.7.0 rc 3
    • Component/s: Core
    • Labels:
      None

      Description

      When running a cleanup, it would be an advantage to anti-compact the smallest SSTables first, so that free disk space is gradually increased, so that larger sstables later on are more likely to successfully anti-compact.

      In 0.6, currently Table.forceCleanup() just iterates the list of CFs in whatever order they come from tableMetadata.getColumnFamilies, which is just a keySet().

      The code should be changed to sort the CFs, smallest first.

      1. 1811-v2.txt
        2 kB
        Jonathan Ellis
      2. 1811.txt
        2 kB
        Jon Hermes

        Issue Links

          Activity

          Gavin made changes -
          Workflow patch-available, re-open possible [ 12750963 ] reopen-resolved, no closed status, patch-avail, testing [ 12757462 ]
          Gavin made changes -
          Workflow no-reopen-closed, patch-avail [ 12538852 ] patch-available, re-open possible [ 12750963 ]
          Jonathan Ellis made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Reviewer jbellis
          Fix Version/s 0.7.0 [ 12315950 ]
          Resolution Fixed [ 1 ]
          Jonathan Ellis made changes -
          Attachment 1811-v2.txt [ 12465769 ]
          Stu Hood made changes -
          Link This issue is related to CASSANDRA-1404 [ CASSANDRA-1404 ]
          Jon Hermes made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Affects Version/s 0.6.8 [ 12315525 ]
          Jon Hermes made changes -
          Attachment 1811.txt [ 12465294 ]
          Jonathan Ellis made changes -
          Field Original Value New Value
          Assignee Jon Hermes [ jhermes ]
          Fix Version/s 0.6.9 [ 12315556 ]
          Paul Querna created issue -

            People

            • Assignee:
              Jon Hermes
              Reporter:
              Paul Querna
              Reviewer:
              Jonathan Ellis
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development