cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Pouget-Abadie (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-14566) Cache CSM.onlyPurgeRepairedTombstones()
Date Mon, 08 Oct 2018 22:01:00 GMT

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

Thomas Pouget-Abadie commented on CASSANDRA-14566:
--------------------------------------------------

Hello,

I was hoping to work on this issue. I added my patch as an attachment.

Thanks

> 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
>            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: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message