cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua McKenzie (JIRA)" <>
Subject [jira] [Updated] (CASSANDRA-9869) windows - failed testClearEphemeralSnapshots
Date Wed, 22 Jul 2015 17:42:05 GMT


Joshua McKenzie updated CASSANDRA-9869:
    Attachment: 9869.txt

Test was committed failing on Windows by CASSANDRA-7357. There was expected state in the WindowsFailedSnapshotTracker
that wasn't setup tripping this assertion, and when that state is initialized the test fails
as it's expecting snapshots to be off-disk when delete is requested. Given memory-mapped files
on Windows we can't guarantee those snapshots will be delete until either JVM shutdown or
next C* start.

This is all moot as we don't use ephemeral snapshots on Windows since we don't allow snapshot-based
repair. Trivial patch attached that skips this test on Windows with a comment as to why.

> windows - failed testClearEphemeralSnapshots
> --------------------------------------------
>                 Key: CASSANDRA-9869
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Joshua McKenzie
>            Assignee: Joshua McKenzie
>            Priority: Trivial
>              Labels: Windows
>             Fix For: 2.2.x
>         Attachments: 9869.txt
> Did some juggling to get the state cleared/prepped when I wrote the test but apparently
it's intermittently failing with the following:
> {noformat}
> junit.framework.AssertionFailedError
> 	at org.apache.cassandra.db.WindowsFailedSnapshotTracker.handleFailedSnapshot(
> 	at org.apache.cassandra.db.Directories.clearSnapshot(
> 	at org.apache.cassandra.db.ColumnFamilyStore.clearEphemeralSnapshots(
> 	at org.apache.cassandra.db.ColumnFamilyStoreTest.testClearEphemeralSnapshots(
> {noformat}
> I assume it's something trivial (having not yet looked into it at all).

This message was sent by Atlassian JIRA

View raw message