[ https://issues.apache.org/jira/browse/CASSANDRA-13393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15962074#comment-15962074 ]
Robert Stupp edited comment on CASSANDRA-13393 at 4/9/17 9:03 AM: ------------------------------------------------------------------ Thanks for the patch! Committed as [470f15be652ffb3c471161d6fb10c8893ff59e46|https://github.com/apache/cassandra/commit/470f15be652ffb3c471161d6fb10c8893ff59e46] to [cassandra-2.2|https://github.com/apache/cassandra/tree/cassandra-2.2] and merged up to trunk. was (Author: snazy): 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)