[
https://issues.apache.org/jira/browse/CASSANDRA-3325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Ellis updated CASSANDRA-3325:
--------------------------------------
Reviewer: jbellis
Component/s: Core
Affects Version/s: (was: 0.8.6)
0.7.0
Fix Version/s: 1.0.0
Labels: compaction (was: )
> Compaction degrades key cache stats
> -----------------------------------
>
> Key: CASSANDRA-3325
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3325
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 0.7.0
> Reporter: Fabien Rousseau
> Priority: Minor
> Labels: compaction
> Fix For: 1.0.0
>
> Attachments: 001-CASSANDRA-3325.patch
>
>
> When "compaction_preheat_key_cache" is set to true, then during compaction,
> it keep tracks of cached keys to to re-cache their new position.
> It does this by calling the following method on every key of the compacted
> sstable :
> sstable.getCachedPosition(row.key)
> which also update cache stats, thus lowering hit rate
> Below is an attached patch allowing to know if the key is cached, but without
> updating the stats.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira