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

L0 compactions never recover when thousands unleveled

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Duplicate
    • None
    • Local/Compaction/STCS
    • None
    • Operability
    • Normal
    • All
    • None

    Description

      While this is somewhat mitigated by incremental repair and CASSANDRA-14388, we can still find ourselves in a scenario where we have thousands of small sstables living in L0 on STCS and get into a heavily degraded state.

      We should add a JMX flag to allow operators to flip the behaviour when doing STCS in L0 from picking the ‘hottest’ bucket to picking the largest one - this should allow us to get down to reasonable numbers of sstables in L0 quicker in this pathological case. If this proves to work particularly well we could consider making this the default in a future version. 

      Attachments

        Issue Links

          Activity

            People

              jmckenzie Josh McKenzie
              jmckenzie Josh McKenzie
              Josh McKenzie
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: