You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2015/05/26 20:18:18 UTC
[jira] [Resolved] (CASSANDRA-9466) CacheService.KeyCacheSerializer
affects cache hit rate
[ https://issues.apache.org/jira/browse/CASSANDRA-9466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis resolved CASSANDRA-9466.
---------------------------------------
Resolution: Fixed
> CacheService.KeyCacheSerializer affects cache hit rate
> ------------------------------------------------------
>
> Key: CASSANDRA-9466
> URL: https://issues.apache.org/jira/browse/CASSANDRA-9466
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Reporter: sankalp kohli
> Assignee: sankalp kohli
> Priority: Minor
> Fix For: 2.1.6, 2.0.16, 2.2.0 rc1
>
>
> Every time Autosaving cache stores to disk, it calls KeyCacheSerializer for every key. In the serialize method, we use this
> RowIndexEntry entry = CacheService.instance.keyCache.get(key);
> Instead it should use getInternal to avoid updating the stats.
> RowIndexEntry entry = CacheService.instance.keyCache.getInternal(key);
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)