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

Cache CSM.onlyPurgeRepairedTombstones()

    XMLWordPrintableJSON

    Details

    • 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:
              Benjamin Lerer, Stefan Podkowinski
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: