Ariel Weisberg created CASSANDRA-14195:
------------------------------------------
Summary: CommitLogSegmentManagerCDCTest is flaky
Key: CASSANDRA-14195
URL: https://issues.apache.org/jira/browse/CASSANDRA-14195
Project: Cassandra
Issue Type: Bug
Components: Testing
Reporter: Ariel Weisberg
Assignee: Jay Zhuang
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.
{noformat}
[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)
{noformat}
and
{noformat}
[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)
{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]