cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-12075) Include whether or not the client should retry the request when throwing a RequestExecutionException
Date Fri, 01 Jul 2016 09:54:11 GMT

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

Sylvain Lebresne commented on CASSANDRA-12075:
----------------------------------------------

bq. The only thing is that if we add an exception which we dont want good drivers to not retry,
we also need to patch the driver right away for this to work.

Well, you have to change the native protocol to add any exception and that require a driver
change anyway. 

> Include whether or not the client should retry the request when throwing a RequestExecutionException
> ----------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-12075
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12075
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Geoffrey Yu
>            Assignee: Geoffrey Yu
>            Priority: Minor
>
> Some requests that result in an error should not be retried by the client. Right now
if the client gets an error, it has no way of knowing whether or not it should retry. We can
include an extra field in each {{RequestExecutionException}} that will indicate whether the
client should retry, retry on a different host, or not retry at all.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message