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

Yifan Cai commented on CASSANDRA-16125:
---------------------------------------

The delayed retry cannot be implemented as a retry policy. Because the 
Cassandra java driver evaluates the retry decision at the Netty worker threads. 
We cannot block there. 

The retry mechanism need to be implemented at the spark worker level. 

> Allow optional query retry in cassandra-diff
> --------------------------------------------
>
>                 Key: CASSANDRA-16125
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16125
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tool/diff
>            Reporter: Yifan Cai
>            Assignee: Yifan Cai
>            Priority: Normal
>
> The diff job fails when seeing the first query timeout/unavailable. 
> We can add an optional retry policy to add the spark workers retry the failed 
> query for a maximum amount of duration (i.e. retry timeout). 
> When the retry policy is set, the job only fails after the retry timeout 
> exceeds.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to