[
https://issues.apache.org/jira/browse/CASSANDRA-18881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17770049#comment-17770049
]
Berenguer Blasi commented on CASSANDRA-18881:
---------------------------------------------
Test setup delayed flushes could create extra sstables. The test's compactions
being targeted to a subset of keys can only compact some of the sstables and
some could be left behind. A major compaction, which the test already had a
note about
[already|https://github.com/apache/cassandra/pull/2738/files#diff-769f7f7b025f1c1aa9f79f3d57c7249c2507352b43036a03f532e443912c984dR253]
(line above), solves that. Then sstable file deletion happens on a scheduled
runner and we want to spinAssert on that.
It was easy to repro on 5K repeats and passes with the fix.
> Test failure:
> org.apache.cassandra.tools.nodetool.ForceCompactionTest.forceCompactMultipleRowsTombstoneTest-.jdk11
>
> -------------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-18881
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18881
> Project: Cassandra
> Issue Type: Bug
> Components: Test/unit
> Reporter: Ekaterina Dimitrova
> Assignee: Berenguer Blasi
> Priority: Normal
> Fix For: 5.x
>
>
> [https://ci-cassandra.apache.org/job/Cassandra-trunk/1718/testReport/org.apache.cassandra.tools.nodetool/ForceCompactionTest/forceCompactMultipleRowsTombstoneTest__jdk11/]
> h3.
> {code:java}
> Stacktrace
> junit.framework.AssertionFailedError at
> org.apache.cassandra.tools.nodetool.ForceCompactionTest.verifyNotContainsTombstones(ForceCompactionTest.java:251)
> at
> org.apache.cassandra.tools.nodetool.ForceCompactionTest.forceCompactMultipleRowsTombstoneTest(ForceCompactionTest.java:129)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method) at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> {code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]