cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-13964) Tracing interferes with digest requests when using RandomPartitioner
Date Tue, 07 Nov 2017 23:13:01 GMT

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

ASF GitHub Bot commented on CASSANDRA-13964:
--------------------------------------------

Github user beobal closed the pull request at:

    https://github.com/apache/cassandra-dtest/pull/10


> Tracing interferes with digest requests when using RandomPartitioner
> --------------------------------------------------------------------
>
>                 Key: CASSANDRA-13964
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13964
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Local Write-Read Paths, Observability
>            Reporter: Sam Tunnicliffe
>            Assignee: Sam Tunnicliffe
>             Fix For: 3.0.16, 3.11.2, 4.0
>
>
> A {{ThreadLocal<MessageDigest>}} is used to generate the MD5 digest when a replica
serves a read command and the {{isDigestQuery}} flag is set. The same threadlocal is also
used by {{RandomPartitioner}} to decorate partition keys. So in a cluster with RP, if tracing
is enabled the data digest is corrupted by the partitioner making tokens for the tracing mutations.
This causes a digest mismatch on the coordinator, triggering a full data read on every read
where CL > 1 (or speculative execution/read repair kick in).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message