You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Robert Stupp (JIRA)" <ji...@apache.org> on 2017/04/09 09:02:42 UTC

[jira] [Resolved] (CASSANDRA-13393) Fix weightedSize() for row-cache reported by JMX and NodeTool

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

Robert Stupp resolved CASSANDRA-13393.
--------------------------------------
       Resolution: Fixed
         Assignee: Fuud
         Reviewer: Robert Stupp
    Fix Version/s: 4.0
                   3.11.0
                   3.0.13
                   2.2.10

Committed as [470f15be652ffb3c471161d6fb10c8893ff59e46|https://github.com/apache/cassandra/commit/470f15be652ffb3c471161d6fb10c8893ff59e46] to [cassandra-2.2|https://github.com/apache/cassandra/tree/cassandra-2.2]


> Fix weightedSize() for row-cache reported by JMX and NodeTool
> -------------------------------------------------------------
>
>                 Key: CASSANDRA-13393
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13393
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>            Reporter: Fuud
>            Assignee: Fuud
>            Priority: Minor
>              Labels: lhf
>             Fix For: 2.2.10, 3.0.13, 3.11.0, 4.0
>
>
> Row Cache size is reported in entries but should be reported in bytes (as KeyCache do).
> It happens because incorrect OHCProvider.OHCacheAdapter.weightedSize method. Currently it returns cache size but should return ohCache.memUsed()



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)