[ 
https://issues.apache.org/jira/browse/CASSANDRA-4043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13813076#comment-13813076
 ] 

Jonathan Ellis commented on CASSANDRA-4043:
-------------------------------------------

IMO wontfixing this is reasonable since the Recent* metrics are deprecated.  As 
of 2.1 nodetool will no longer use them.  (CASSANDRA-5871)

> RecentBloomFilterFalseRatio and RecentBloomFilterFalsePositives reset each 
> other
> --------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-4043
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4043
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.8
>            Reporter: Tyler Hobbs
>            Assignee: Tyler Hobbs
>            Priority: Trivial
>              Labels: jmx
>
> If either of the ColumnFamily JMX attributes {{RecentBloomFilterFalseRatio}} 
> or {{RecentBloomFilterFalsePositives}} are read, both are reset.  This means 
> if you try to read both attributes at the same time (like jconsole does, for 
> example), one of them is guaranteed to be 0.
> The solution might be that we store a separate false positives counter for 
> the ratio and the normal count and reset them separately.  Some refactoring 
> should be done at the same time so that the BloomFilterTracker calculates the 
> false positive ratio itself instead of having DataTracker fetch both counters 
> and calculate the ratio.
> On a related note, why does nodetool not use the Recent versions of the bloom 
> filter metrics?



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to