cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua McKenzie (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-9501) ColumnFamilyStoreTest.testSliceByNamesCommandOldMetadata failing
Date Fri, 29 May 2015 16:52:17 GMT

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

Joshua McKenzie updated CASSANDRA-9501:
---------------------------------------
    Attachment: 9501_v2.txt

I'd rather not change clearUnsafe as there's 48 users of the method that may or may not be
relying on its current behavior.

We should just change the clearUnsafe to truncateBlocking in this failing test; the test should
be run in isolation w/regards to the data on disk, metadata nuking, and reloading rather than
have cruft leftover on disk from previous tests. clearUnsafe is the incorrect method to call
in this context so rather than changing that, let's just call the correct method.

Attached trivial v2.

> ColumnFamilyStoreTest.testSliceByNamesCommandOldMetadata failing
> ----------------------------------------------------------------
>
>                 Key: CASSANDRA-9501
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9501
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Joshua McKenzie
>            Assignee: Joshua McKenzie
>            Priority: Minor
>              Labels: test
>             Fix For: 2.2.x
>
>         Attachments: 9501_v1.txt, 9501_v2.txt
>
>
> {noformat}
>     [junit] Testcase: testSliceByNamesCommandOldMetadata(org.apache.cassandra.db.ColumnFamilyStoreTest):
       FAILED
>     [junit] null
>     [junit] junit.framework.AssertionFailedError
>     [junit]     at org.apache.cassandra.io.util.FileUtils.renameWithConfirm(FileUtils.java:171)
>     [junit]     at org.apache.cassandra.io.util.FileUtils.renameWithConfirm(FileUtils.java:166)
>     [junit]     at org.apache.cassandra.io.sstable.format.SSTableWriter.rename(SSTableWriter.java:266)
>     [junit]     at org.apache.cassandra.db.ColumnFamilyStore.loadNewSSTables(ColumnFamilyStore.java:766)
>     [junit]     at org.apache.cassandra.db.ColumnFamilyStoreTest.testSliceByNamesCommandOldMetadata(ColumnFamilyStoreTest.java:1125)
> {noformat}



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

Mime
View raw message