cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ariel Weisberg (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Deleted] (CASSANDRA-9358) RecoveryManagerTruncateTest.testTruncatePointInTimeReplayList times out periodically
Date Fri, 06 Nov 2015 18:06:11 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-9358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ariel Weisberg updated CASSANDRA-9358:
--------------------------------------
    Comment: was deleted

(was: Adding a commit log sync before reseting and restoring from PIT fixes this test. It's
not super reproducible on my Linux box although it will happen in a loop. On OS X it fails
pretty reliably.

I am going to dig a little deeper into why a sync is necessary for the commit log contents
to be usable. 

When it fails I see this in the log
{code}
    [junit] WARN  17:32:49 Encountered bad header at position 16 of commit log /home/aweisberg/cassandra/build/test/cassandra/commitlog:0/CommitLog-4-1446831167254.log,
with invalid CRC. The end of segment marker should be zero.
    [junit] WARN  17:32:49 Encountered bad header at position 16 of commit log /home/aweisberg/cassandra/build/test/cassandra/commitlog:0/CommitLog-4-1446831167254.log,
with invalid CRC. The end of segment marker should be zero.
{code})

> RecoveryManagerTruncateTest.testTruncatePointInTimeReplayList times out periodically
> ------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-9358
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9358
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Testing
>            Reporter: Michael Shuler
>             Fix For: 2.1.x
>
>         Attachments: system.log
>
>
> This took me about 6 loops over this test to get it to time out
> {noformat}
>     [junit] Testsuite: org.apache.cassandra.db.RecoveryManagerTruncateTest
>     [junit] Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 9.262 sec
>     [junit] 
>     [junit] Testcase: testTruncatePointInTimeReplayList(org.apache.cassandra.db.RecoveryManagerTruncateTest):
  FAILED
>     [junit] 
>     [junit] junit.framework.AssertionFailedError: 
>     [junit]     at org.apache.cassandra.db.RecoveryManagerTruncateTest.testTruncatePointInTimeReplayList(RecoveryManagerTruncateTest.java:159)
>     [junit] 
>     [junit] 
>     [junit] Test org.apache.cassandra.db.RecoveryManagerTruncateTest FAILED
> {noformat}
> system.log from timeout attached



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

Mime
View raw message