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

Cache CSM.onlyPurgeRepairedTombstones()

Agile BoardAttach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          Activity

            People

            • Assignee:
              pougetat Thomas Pouget-Abadie Assign to me
              Reporter:
              spod Stefan Podkowinski
              Authors:
              Thomas Pouget-Abadie
              Reviewers:
              Stefan Podkowinski

              Dates

              • Created:
                Updated:

                Issue deployment