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

Stefan Podkowinski commented on CASSANDRA-14668:
------------------------------------------------

Example events from a single read repair as retrieved via JMX.

ReadRepairEvent:
{noformat}
class=org.apache.cassandra.service.reads.repair.ReadRepairEvent, 
type=START_REPAIR, 
command=SELECT * FROM ks.table1 WHERE key = a LIMIT 100, 
consistency=ALL,
speculativeRetry=PERCENTILE, 
keyspace=ks, 
table=table1, 
allEndpoints=[127.0.0.1:7000, 127.0.0.2:7000], 
endpointDestinations=[127.0.0.1:7000, 127.0.0.2:7000], 
thread=Native-Transport-Requests-1, 
digestsByEndpoint={
        127.0.0.2:7000={digestHex=d41d8cd98f00b204e9800998ecf8427e, 
isDigestResponse=true}, 
        127.0.0.1:7000={digestHex=82577faad6f8c6450786e68df35db686, 
isDigestResponse=false}
}, 
ts=1535700434509
{noformat}
PartitionRepairEvent:
{noformat}
class=org.apache.cassandra.service.reads.repair.PartitionRepairEvent, 
type=SEND_INITIAL_REPAIRS, 
consistency=ALL, 
keyspace=ks, 
mutation=Mutation(keyspace='ks', key='61', modifications=[
  [ks.table1] key=a partition_deletion=deletedAt=-9223372036854775808, 
localDeletion=2147483647 columns=[[] | [c1 v1]]
    Row[info=[ts=1535700208937182] ]: EMPTY | [c1=1 ts=1535700208937182], [v1=1 
ts=1535700208937182]
]), 
destination=127.0.0.2:7000, 
thread=Native-Transport-Requests-1, 
key=61, 
token=-8839064797231613815, 
ts=1535700434522
{noformat}

> Diag events for read repairs
> ----------------------------
>
>                 Key: CASSANDRA-14668
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14668
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Observability
>            Reporter: Stefan Podkowinski
>            Assignee: Stefan Podkowinski
>            Priority: Major
>             Fix For: 4.x
>
>
> Read repairs have been a highly discussed topic during the last months and 
> also saw some significant code changes. I'd like to be better prepared in 
> case we need to investigate any further RR issues in the future, by adding 
> diagnostic events that can be enabled for exposing informations such as:
>  * contacted endpoints
>  * digest responses by endpoint
>  * affected partition keys
>  * speculated reads / writes
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to