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

Anubhav Kale commented on CASSANDRA-10866:
------------------------------------------

I have provided a patch on top of 
https://issues.apache.org/jira/secure/attachment/12777927/Trunk-All-Comments.patch

I can add Unit Tests in messaging service but I did not see a pattern for 
checking metrics thorough unit tests so skipping those. The change is verified 
on a local installation through visual VM. 

It is possible to optimize the KS/CF lookup in MessagingService.java (maybe 
through a Map), but I am hoping that's not necessary.

> Column Family should expose count metrics for dropped mutations.
> ----------------------------------------------------------------
>
>                 Key: CASSANDRA-10866
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10866
>             Project: Cassandra
>          Issue Type: Improvement
>         Environment: PROD
>            Reporter: Anubhav Kale
>            Priority: Minor
>         Attachments: 0001-CFCount.patch
>
>
> Please take a look at the discussion in CASSANDRA-10580. This is opened so 
> that the latency on dropped mutations is exposed as a metric on column 
> families.



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

Reply via email to