[jira] [Commented] (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:comment-tabpanel=15967294#comment-15967294 ] ASF GitHub Bot commented on CASSANDRA-13393: Github user Fuud closed the pull request at: https://github.com/apache/cassandra/pull/105 > 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)
[jira] [Commented] (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:comment-tabpanel=15962182#comment-15962182 ] ASF GitHub Bot commented on CASSANDRA-13393: Github user jeffjirsa commented on the issue: https://github.com/apache/cassandra/pull/105 This was committed as 470f15be652ffb3c471161d6fb10c8893ff59e46 - mind closing the PR? > 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)