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

Stefania commented on CASSANDRA-12854:
--------------------------------------

Finally reproduced it 
[here|http://cassci.datastax.com/view/Dev/view/stef1927/job/stef1927-testall-multiplex/50/testReport/junit/org.apache.cassandra.db.commitlog/CommitLogTest_1/testDeleteIfNotDirty_2__compression/]
 with adequate debug information. As expected, the mutations of the system 
keyspaces are also added to the commit log and this may prevent segments from 
being deleted as the test expects. In this case it was 
{{system.sstable_activity}} with cf id {{5a1ff267-ace0-3f12-8563-cfae6103c65e}} 
that kept the second commit log segment.

> CommitLogTest.testDeleteIfNotDirty failed in 3.X
> ------------------------------------------------
>
>                 Key: CASSANDRA-12854
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12854
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Stefania
>            Assignee: Stefania
>             Fix For: 3.x
>
>
> Example failure:
> http://cassci.datastax.com/view/cassandra-3.X/job/cassandra-3.X_testall/31/testReport/junit/org.apache.cassandra.db.commitlog/CommitLogTest/testDeleteIfNotDirty_3__compression/
> {code}
> expected:<1> but was:<2>
> Stacktrace
> junit.framework.AssertionFailedError: expected:<1> but was:<2>
>       at 
> org.apache.cassandra.db.commitlog.CommitLogTest.testDeleteIfNotDirty(CommitLogTest.java:305)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to