You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Caleb Rackliffe (Jira)" <ji...@apache.org> on 2022/04/11 16:32:00 UTC

[jira] [Commented] (CASSANDRA-16992) repair prepare message would produce a wrong error message if network timeout happened rather than reply wait timeout

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

Caleb Rackliffe commented on CASSANDRA-16992:
---------------------------------------------

[~dcapwell] Should we fix this for 4.0 as well? I just saw https://ci-cassandra.apache.org/job/Cassandra-4.0/376/testReport/org.apache.cassandra.distributed.test/IncrementalRepairCoordinatorTimeoutTest/prepareRPCTimeout_DATACENTER_AWARE_false_/

> repair prepare message would produce a wrong error message if network timeout happened rather than reply wait timeout
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-16992
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16992
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Consistency/Repair, Test/dtest/java
>            Reporter: Josh McKenzie
>            Assignee: David Capwell
>            Priority: Normal
>             Fix For: 4.1
>
>
> Showed up on CASSANDRA-12988 test runs; can't reproduce locally.
>  {quote}
> junit.framework.AssertionFailedError: nodetool command [repair, distributed_test_keyspace, preparerpctimeout_full_parallel_false, --full] Error message 'Got negative replies from endpoints [/127.0.0.2:7012]' does not contain any of [Did not get replies from all endpoints.]
> stdout:
> [2021-09-22 17:37:02,187] After waiting for poll interval of 1 seconds queried for parent session status and discovered repair failed.
> [2021-09-22 17:37:02,187] Got negative replies from endpoints [/127.0.0.2:7012]
> [2021-09-22 17:37:02,187] Repair command #4 finished with error
> stderr:
> error: Got negative replies from endpoints [/127.0.0.2:7012]
> -- StackTrace --
> java.io.IOException: Got negative replies from endpoints [/127.0.0.2:7012]
> 	at org.apache.cassandra.tools.RepairRunner.queryForCompletedRepair(RepairRunner.java:167)
> 	at org.apache.cassandra.tools.RepairRunner.run(RepairRunner.java:72)
> 	at org.apache.cassandra.tools.NodeProbe.repairAsync(NodeProbe.java:461)
> 	at org.apache.cassandra.tools.nodetool.Repair.execute(Repair.java:171)
> 	at org.apache.cassandra.tools.NodeTool$NodeToolCmd.runInternal(NodeTool.java:363)
> 	at org.apache.cassandra.tools.NodeTool$NodeToolCmd.run(NodeTool.java:348)
> 	at org.apache.cassandra.tools.NodeTool.execute(NodeTool.java:251)
> 	at org.apache.cassandra.distributed.impl.Instance$DTestNodeTool.execute(Instance.java:895)
> 	at org.apache.cassandra.distributed.impl.Instance.lambda$nodetoolResult$39(Instance.java:805)
> 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
> 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> 	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
> 	at java.base/java.lang.Thread.run(Thread.java:834)
> {quote}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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