[ 
https://issues.apache.org/jira/browse/CASSANDRA-14566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16645032#comment-16645032
 ] 

Stefan Podkowinski commented on CASSANDRA-14566:
------------------------------------------------

Thanks for your contribution, Thomas! We're meanwhile testing the upcoming 
Cassandra 4.0 release and have a code freeze for non-critical fixes in place 
for the other branches. I'll look into accepting the patch for 4.0, depending 
how the testing goes, or in a later version, as the expected performance gain 
should not be significant. 

> Cache CSM.onlyPurgeRepairedTombstones()
> ---------------------------------------
>
>                 Key: CASSANDRA-14566
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14566
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Compaction
>            Reporter: Stefan Podkowinski
>            Assignee: Thomas Pouget-Abadie
>            Priority: Minor
>              Labels: lhf, performance
>         Attachments: 14566-3.11.txt
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to