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

Cache CSM.onlyPurgeRepairedTombstones()

    XMLWordPrintableJSON

Details

    • 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

            pougetat Thomas Pouget-Abadie
            spod Stefan Podkowinski
            Thomas Pouget-Abadie
            Benjamin Lerer, Stefan Podkowinski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: