Details
-
Bug
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
Low
Description
This fails fairly reliably in CircleCI and in a few minutes if you run it in a loop on a MacOS laptop.
I see two failures.
[junit] Testcase: testRetainLinkOnDiscardCDC(org.apache.cassandra.db.commitlog.CommitLogSegmentManagerCDCTest): Caused an ERROR [junit] Rejecting mutation to keyspace cql_test_keyspace. Free up space in build/test/cassandra/cdc_raw:0 by processing CDC logs. [junit] org.apache.cassandra.exceptions.CDCWriteException: Rejecting mutation to keyspace cql_test_keyspace. Free up space in build/test/cassandra/cdc_raw:0 by processing CDC logs. [junit] at org.apache.cassandra.db.commitlog.CommitLogSegmentManagerCDC.throwIfForbidden(CommitLogSegmentManagerCDC.java:136) [junit] at org.apache.cassandra.db.commitlog.CommitLogSegmentManagerCDC.allocate(CommitLogSegmentManagerCDC.java:108) [junit] at org.apache.cassandra.db.commitlog.CommitLog.add(CommitLog.java:272) [junit] at org.apache.cassandra.db.Keyspace.applyInternal(Keyspace.java:604) [junit] at org.apache.cassandra.db.Keyspace.apply(Keyspace.java:481) [junit] at org.apache.cassandra.db.Mutation.apply(Mutation.java:191) [junit] at org.apache.cassandra.db.Mutation.apply(Mutation.java:196) [junit] at org.apache.cassandra.db.Mutation.apply(Mutation.java:205) [junit] at org.apache.cassandra.db.commitlog.CommitLogSegmentManagerCDCTest.testRetainLinkOnDiscardCDC(CommitLogSegmentManagerCDCTest.java:256)
and
[junit] Testcase: testCompletedFlag(org.apache.cassandra.db.commitlog.CommitLogSegmentManagerCDCTest): FAILED [junit] Index file not written: build/test/cassandra/cdc_raw:0/CommitLog-7-1517005121474_cdc.idx [junit] junit.framework.AssertionFailedError: Index file not written: build/test/cassandra/cdc_raw:0/CommitLog-7-1517005121474_cdc.idx [junit] at org.apache.cassandra.db.commitlog.CommitLogSegmentManagerCDCTest.testCompletedFlag(CommitLogSegmentManagerCDCTest.java:210)
Attachments
Issue Links
- is caused by
-
CASSANDRA-12148 Improve determinism of CDC data availability
- Resolved
-
CASSANDRA-14141 Enable CDC unittest
- Resolved