[ 
https://issues.apache.org/jira/browse/CASSANDRA-9061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carl Yeksigian updated CASSANDRA-9061:
--------------------------------------
    Attachment: 9061-2.1.txt

Adds retries and sleeping when we have timed out statements.

Since we want to retry the statements that have timed out, we keep around all 
of the in-flight query messages to retry on time out. If we have a success, we 
just drop those messages altogether.

Also, need to be careful in the case where in-flight queries try to replace 
previously used stream ids, so it tries to reap the successful queries first, 
then will retry the timed out ones.

> Add backoff and recovery to cqlsh COPY FROM when write timeouts occur
> ---------------------------------------------------------------------
>
>                 Key: CASSANDRA-9061
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9061
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Tyler Hobbs
>            Assignee: Carl Yeksigian
>            Priority: Minor
>              Labels: cqlsh
>             Fix For: 2.1.5
>
>         Attachments: 9061-2.1.txt
>
>
> Previous versions of COPY FROM didn't handle write timeouts because it was 
> rarely fast enough for that to matter.  Now that performance has improved, 
> write timeouts are more likely to occur.  We should handle these by backing 
> off and retrying the operation.



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

Reply via email to