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

Josh McKenzie commented on CASSANDRA-20505:
-------------------------------------------

9 failures on CI; the python dtest failures are mostly that they were looking 
for a timeout message that's now standardized and different; will get a PR 
together for that. Otherwise looks good and should be ready for review.

> Log replicas on timeout; property test RequestCallback implementers
> -------------------------------------------------------------------
>
>                 Key: CASSANDRA-20505
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-20505
>             Project: Apache Cassandra
>          Issue Type: Improvement
>          Components: Messaging/Internode
>            Reporter: Josh McKenzie
>            Assignee: Josh McKenzie
>            Priority: Normal
>             Fix For: 5.x, 6.x
>
>         Attachments: ci_summary.html
>
>
> We inconsistently log which replicas are involved in timeouts in a couple of 
> our callbacks and don't log details in the vast majority; this is something 
> we should do for all timeouts or failures for purposes of troubleshooting in 
> prod clusters.
> Factoring this code out into a shared class so we don't copy-paste duplicate 
> throughout all our callbacks, which we've done historically, also 
> necessitates moving more logic out of the callbacks into a shared place to 
> prevent duplicate operations (counting of responses, success or failure 
> determination, etc). This also provides an opportunity to start bending 
> towards standardization in our callbacks on how we quantify success, how we 
> keep track of per-DC responses, and a host of other small things that are 
> duplicated across our internode callbacks.
> These callbacks don't have much unit testing outside the 
> {{WriteResponseHandlerTest}} that's primarily dealing with Ideal 
> ConsistencyLevel metric calculation, so we should also introduce robust 
> property testing for our primary callbacks.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to