[ 
https://issues.apache.org/jira/browse/CASSANDRA-9466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Ellis updated CASSANDRA-9466:
--------------------------------------
      Component/s: Tools
         Reviewer: Jonathan Ellis
    Fix Version/s: 2.2.0 rc1
                   2.0.16
                   2.1.6
         Assignee: sankalp kohli
       Issue Type: Bug  (was: Improvement)

LGTM, committed

> 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)

Reply via email to