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

David Capwell commented on CASSANDRA-17069:
-------------------------------------------

ran bootstrap test on trunk and repro the issue; so its not related to this 
patch

{code}
testclasslist:
[junit-timeout] Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true
[junit-timeout] Testsuite: 
org.apache.cassandra.distributed.test.ring.BootstrapTest
[junit-timeout] Testsuite: 
org.apache.cassandra.distributed.test.ring.BootstrapTest Tests run: 3, 
Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 285.181 sec
[junit-timeout]
[junit-timeout] Testcase: 
readWriteDuringBootstrapTest(org.apache.cassandra.distributed.test.ring.BootstrapTest):
       Caused an ERROR
[junit-timeout] java.util.concurrent.TimeoutException
[junit-timeout] java.lang.RuntimeException: 
java.util.concurrent.TimeoutException
[junit-timeout]         at 
org.apache.cassandra.utils.Throwables.maybeFail(Throwables.java:71)
[junit-timeout]         at 
org.apache.cassandra.utils.FBUtilities.waitOnFutures(FBUtilities.java:497)
[junit-timeout]         at 
org.apache.cassandra.distributed.impl.AbstractCluster.close(AbstractCluster.java:930)
[junit-timeout]         at 
org.apache.cassandra.distributed.test.ring.BootstrapTest.readWriteDuringBootstrapTest(BootstrapTest.java:101)
[junit-timeout] Caused by: java.util.concurrent.TimeoutException
[junit-timeout]         at 
java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1784)
[junit-timeout]         at 
java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1928)
[junit-timeout]         at 
org.apache.cassandra.utils.FBUtilities.waitOnFutures(FBUtilities.java:489)
[junit-timeout]
[junit-timeout]
[junit-timeout] Test org.apache.cassandra.distributed.test.ring.BootstrapTest 
FAILED
{code}

> Refactor normal/preview/IR repair to standardize repair cleanup and error 
> handling of failed RepairJobs
> -------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-17069
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17069
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Consistency/Repair
>            Reporter: David Capwell
>            Assignee: David Capwell
>            Priority: Normal
>             Fix For: 4.x
>
>
> Right now we have 3 different implementations of repair: normal, preview, and 
> incremental (IR); all 3 handle RepairJob failures differently and offer 
> different state cleanup.  To make sure that we consistently handle errors the 
> same way and cleanup, we should move these responsibilities outside of the 
> repair task itself and move these into common APIs and move some logic into 
> the repair coordination its self.
> This work relates with CASSANDRA-15399 as special handling each task makes 
> the work more complex.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to