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

David Capwell commented on CASSANDRA-15854:
-------------------------------------------

Been running the tests in a loop to make sure not flaky, found this failure

{code}
testclasslist:
     [echo] Number of test runners: 1
[junit-timeout] Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true
[junit-timeout] Testsuite: 
org.apache.cassandra.distributed.test.IncRepairTruncationTest
[junit-timeout] Testsuite: 
org.apache.cassandra.distributed.test.IncRepairTruncationTest Tests run: 1, 
Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 108.5 sec
[junit-timeout]
[junit-timeout] Testcase: 
testTruncateDuringIncRepair(org.apache.cassandra.distributed.test.IncRepairTruncationTest):
   FAILED
[junit-timeout] null
[junit-timeout] junit.framework.AssertionFailedError
[junit-timeout]         at 
org.apache.cassandra.distributed.test.IncRepairTruncationTest.testTruncateDuringIncRepair(IncRepairTruncationTest.java:100)
[junit-timeout]
[junit-timeout]
[junit-timeout] Test 
org.apache.cassandra.distributed.test.IncRepairTruncationTest FAILED
[junitreport] Processing 
/Users/davidcapwell/src/github/apache/team/marcus-cassandra/build/test/TESTS-TestSuites.xml
 to /var/folders/cm/08cddl2s25j7fq3jdb76gh4r0000gn/T/null1038731269
[junitreport] Loading stylesheet 
jar:file:/usr/local/Cellar/ant/1.10.7/libexec/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl
[junitreport] Transform time: 5425ms
[junitreport] Deleting: 
/var/folders/cm/08cddl2s25j7fq3jdb76gh4r0000gn/T/null1038731269

BUILD FAILED
/Users/davidcapwell/src/github/apache/team/marcus-cassandra/build.xml:2004: The 
following error occurred while executing this line:
/Users/davidcapwell/src/github/apache/team/marcus-cassandra/build.xml:1894: 
Some test(s) failed.
{code}

Seems an inconsistency was found; this was on the branch without changes.

This failed after the 13th run with lower resources (2 physical cores; 4 
hyper-threaded).

> Truncation should fail any ongoing repairs
> ------------------------------------------
>
>                 Key: CASSANDRA-15854
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15854
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Consistency/Repair
>            Reporter: Marcus Eriksson
>            Assignee: Marcus Eriksson
>            Priority: Normal
>             Fix For: 4.0-beta
>
>
> Truncation may race with ongoing repairs, making it possible to clear data on 
> one node but then stream data its truncation would have deleted from another 
> node. We should abort any ongoing preview repairs if we get a truncation 
> request.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to