cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "DOAN DuyHai (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-8926) Cfstats estimate number of keys should be stored as long, not int
Date Thu, 05 Mar 2015 20:10:39 GMT
DOAN DuyHai created CASSANDRA-8926:
--------------------------------------

             Summary: Cfstats estimate number of keys should be stored as long, not int
                 Key: CASSANDRA-8926
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8926
             Project: Cassandra
          Issue Type: Bug
          Components: Tools
         Environment: Cassandra 2.1.3
Nodetool
            Reporter: DOAN DuyHai
            Priority: Trivial
         Attachments: patch.diff

For some table with huge number of partitions, *nodetool cfstats* returns negative display:

<pre>
Number of keys (estimate): -2034463513
</pre>

The simple reason is the counter used in Nodetool is an *int*, it should be a *long*

I attach a trivial fix



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message