Benedict created CASSANDRA-6838:
-----------------------------------

             Summary: FileCacheService dramatically overcounting its memoryUsage
                 Key: CASSANDRA-6838
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6838
             Project: Cassandra
          Issue Type: Bug
          Components: Core
            Reporter: Benedict
            Assignee: Benedict
             Fix For: 2.1 beta2


On investigating why I was seeing dramatically worse performance for counter 
updates over prepared CQL3 statements compred to unprepared CQL2 statements, I 
stumbled upon a bug in FileCacheService wherein, on returning a cached reader 
back to the pool, its memory is counted again towards the total memory usage, 
but is not matched by a decrement when checked out. So we effectively are 
probably not caching readers most of the time.




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to