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

Yuki Morishita commented on CASSANDRA-12192:
--------------------------------------------

I don't know the reason behind CASSANDRA-5393 not retrying for all (maybe 
because the scope of ticket was just for repair), but it looks like we can turn 
on retry to all messages as Tyler suggests. On trunk, we try to reconnect when 
writing to socket fails, and if we cannot reconnect we clear backlog so 
retrying message won't accumulate and be problematic.

One nit: can you modify the comment 
[here|https://github.com/thobbs/cassandra/blob/6c46045ec5e22437b5493ee66851623b0bda1209/src/java/org/apache/cassandra/net/OutboundTcpConnection.java#L314-L315]
 to fit with your change?

Let's see how tests go.

> dtest failure in 
> upgrade_tests.cql_tests.TestCQLNodes3RF3_Upgrade_current_3_0_x_To_head_trunk.map_keys_indexing_test
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-12192
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12192
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Sean McCarthy
>            Assignee: Tyler Hobbs
>              Labels: dtest
>         Attachments: node1.log, node1_debug.log, node1_gc.log, node2.log, 
> node2_debug.log, node2_gc.log, node3.log, node3_debug.log, node3_gc.log
>
>
> example failure:
> http://cassci.datastax.com/job/upgrade_tests-all/59/testReport/upgrade_tests.cql_tests/TestCQLNodes3RF3_Upgrade_current_3_0_x_To_head_trunk/map_keys_indexing_test
> Failed on CassCI build upgrade_tests-all #59
> {code}
> Stacktrace
>   File "/usr/lib/python2.7/unittest/case.py", line 329, in run
>     testMethod()
>   File "/home/automaton/cassandra-dtest/tools.py", line 290, in wrapped
>     f(obj)
>   File "/home/automaton/cassandra-dtest/upgrade_tests/cql_tests.py", line 
> 3668, in map_keys_indexing_test
>     cursor.execute("TRUNCATE test")
>   File "cassandra/cluster.py", line 1941, in 
> cassandra.cluster.Session.execute (cassandra/cluster.c:33642)
>     return self.execute_async(query, parameters, trace, custom_payload, 
> timeout, execution_profile).result()
>   File "cassandra/cluster.py", line 3629, in 
> cassandra.cluster.ResponseFuture.result (cassandra/cluster.c:69369)
>     raise self._final_exception
> '<Error from server: code=1003 [Error during truncate] message="Error during 
> truncate: Truncate timed out - received only 2 responses">
> {code}
> Related failure: 
> http://cassci.datastax.com/job/upgrade_tests-all/59/testReport/upgrade_tests.cql_tests/TestCQLNodes2RF1_Upgrade_current_3_0_x_To_head_trunk/map_keys_indexing_test/



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

Reply via email to