cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carl Yeksigian (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-10023) Emit a metric for number of local read and write calls
Date Thu, 08 Oct 2015 17:29:27 GMT

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

Carl Yeksigian commented on CASSANDRA-10023:
--------------------------------------------

[~tusharice]: We need to record the number of reads and writes which include the coordinator.
In {{StorageProxy.canDoLocalRequest}}, we are seeing whether the different requests include
the coordinator, so the callers of this method should track whether or not any of the endpoints
tested could do local requests, and then record those as part of the read and write metrics.

> 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
>            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)

Mime
View raw message