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

Cache CSM.onlyPurgeRepairedTombstones()

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Ready to Commit
    • Priority: Low
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: Local/Compaction
    • Labels:
    • Complexity:
      Low Hanging Fruit

      Description

      We currently call CompactionStrategyManager.onlyPurgeRepairedTombstones() a lot during compaction, I think at least for every key. So we should probably cache the value, instead of constantly reading from a volatile and calling parseBoolean.

        Attachments

        1. 14566-3.11.txt
          2 kB
          Thomas Pouget-Abadie

          Activity

            People

            • Assignee:
              pougetat Thomas Pouget-Abadie
              Reporter:
              spod Stefan Podkowinski
              Authors:
              Thomas Pouget-Abadie
              Reviewers:
              Stefan Podkowinski
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: