You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sylvain Lebresne (JIRA)" <ji...@apache.org> on 2011/09/01 15:29:09 UTC

[jira] [Commented] (CASSANDRA-2941) Expose number of rpc timeouts for individual hosts metric via jmx

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

Sylvain Lebresne commented on CASSANDRA-2941:
---------------------------------------------

for the records, this patch had the following lines:
{noformat}
        AtomicLong c = timeoutsPerHost.get(ip);
        if (c == null)
            c = timeoutsPerHost.put(ip, new AtomicLong());
        c.incrementAndGet();
{noformat}
which are a guaranteed NPE.
I've fixed that directly though (in r1164068).

> Expose number of rpc timeouts for individual hosts metric via jmx 
> ------------------------------------------------------------------
>
>                 Key: CASSANDRA-2941
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2941
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Melvin Wang
>            Assignee: Melvin Wang
>            Priority: Minor
>             Fix For: 0.8.5
>
>         Attachments: c2941-v2.patch
>
>
> We have a total number timeouts for each node. It's better for monitoring to break down this total number into number of timeouts per host that this node tried to connect to.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira