You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Radim Kolar (JIRA)" <ji...@apache.org> on 2012/05/14 15:49:51 UTC

[jira] [Created] (CASSANDRA-4243) skip liveratio calc if memtable has 0 columns

Radim Kolar created CASSANDRA-4243:
--------------------------------------

             Summary: skip liveratio calc if memtable has 0 columns
                 Key: CASSANDRA-4243
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4243
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.0.10
            Reporter: Radim Kolar
            Priority: Minor


liveratio calc should do nothing if memtable has 0 columns. I did manual flush before this:

WARN [MemoryMeter:1] 2012-05-10 13:21:19,430 Memtable.java (line 181) setting live ratio to maximum of 64 instead of Infinity
INFO [MemoryMeter:1] 2012-05-10 13:21:19,431 Memtable.java (line 186) CFS(Keyspace='rapidshare', ColumnFamily='resultcache') liveRatio is 64.0 (just-counted was 64.0).  calculation took 1ms for 0 columns

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira