cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Tunnicliffe (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-8212) Archive Commitlog Test Failing
Date Tue, 25 Nov 2014 15:20:12 GMT


Sam Tunnicliffe commented on CASSANDRA-8212:

yes, this test appears to have been broken on 2.0 since it was introduced in [18f4a4b|].
The reason is that 2.0 does not force any active commit log segments to be recycled during
drain, which means they are also not archived. Because this test actually destroys the cluster
midway through, any mutations in these active segments will be lost. Another test in the fixture
archives the active segments manually and that one passes as expected. The test passes on
2.1 due to substantial changes in CommitLog, including the forced recycling of any active
commit logs during drain.

Seems like the right thing to do is to just the failing test {{@since('2.1')}} as it is the
case that before then active segments need to be manually archived (if the cl dir is cleared,
CASSANDRA-6904 adds archival of existing segments at startup). What do you think [~philipthompson]?

> Archive Commitlog Test Failing
> ------------------------------
>                 Key: CASSANDRA-8212
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Philip Thompson
>            Assignee: Sam Tunnicliffe
>             Fix For: 2.0.12
> The test snapshot_test.TestArchiveCommitlog.test_archive_commitlog is failing on 2.0.11,
but not 2.1.1. We attempt to replay 65000 rows, but in 2.0.11 only 63000 rows succeed. URL
for test output:

This message was sent by Atlassian JIRA

View raw message