[ https://issues.apache.org/jira/browse/CASSANDRA-13393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15960389#comment-15960389 ]
ASF GitHub Bot commented on CASSANDRA-13393: -------------------------------------------- GitHub user Fuud opened a pull request: https://github.com/apache/cassandra/pull/105 Fix invalid value for rowCache size (in MB). CASSANDRA-13393 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() You can merge this pull request into a Git repository by running: $ git pull https://github.com/Fuud/cassandra 13393 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cassandra/pull/105.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #105 ---- commit 0fa5ca057016c250a4888b8b6d982fcac569d6a5 Author: Fedor Bobin <fuudtorrent...@gmail.com> Date: 2017-04-07T07:07:08Z Fix invalid value for rowCache size (in MB). CASSANDRA-13393 ---- > Invalid row cache size (in MB) is 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 > Priority: Minor > Labels: lhf > > 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)