Details
-
Improvement
-
Status: Resolved
-
Low
-
Resolution: Duplicate
-
None
Description
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.
Attachments
Attachments
Issue Links
- is duplicated by
-
CASSANDRA-9302 Optimize cqlsh COPY FROM, part 3
- Resolved
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.