You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Tushar Agrawal (JIRA)" <ji...@apache.org> on 2015/11/01 01:43:27 UTC

[jira] [Commented] (CASSANDRA-10023) Emit a metric for number of local read and write calls

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

Tushar Agrawal commented on CASSANDRA-10023:
--------------------------------------------

[~carlyeks] : Thank you Carl. I added two counter in ClientRequestMetrics.java for tracking replicaAware and replicaNotAware requests. Please review the patch and let me know if something needs to be changed. Any better suggestion for naming these counters?

> Emit a metric for number of local read and write calls
> ------------------------------------------------------
>
>                 Key: CASSANDRA-10023
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10023
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: sankalp kohli
>            Assignee: Tushar Agrawal
>            Priority: Minor
>              Labels: lhf
>
> Many C* drivers have feature to be replica aware and chose the co-ordinator which is a replica. We should add a metric which tells us whether all calls to the co-ordinator are replica aware.
> We have seen issues where client thinks they are replica aware when they forget to add routing key at various places in the code. 



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