You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "DOAN DuyHai (JIRA)" <ji...@apache.org> on 2015/03/05 21:11:39 UTC
[jira] [Updated] (CASSANDRA-8926) Cfstats estimate number of keys
should be stored as long, not int
[ https://issues.apache.org/jira/browse/CASSANDRA-8926?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
DOAN DuyHai updated CASSANDRA-8926:
-----------------------------------
Description:
For some table with huge number of partitions, *nodetool cfstats* returns negative display:
{code}
Number of keys (estimate): -2034463513
{code}
The simple reason is the counter used in Nodetool is an *int*, it should be a *long*
I attach a trivial fix
was:
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
> 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:
> {code}
> Number of keys (estimate): -2034463513
> {code}
> 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)