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] [Resolved] (CASSANDRA-9511) ColumnFamilyStoreTest.testSliceByNamesCommandOldMetadata fails on trunk
Date Fri, 29 May 2015 17:48:20 GMT

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

Ariel Weisberg resolved CASSANDRA-9511.
---------------------------------------
    Resolution: Duplicate

> ColumnFamilyStoreTest.testSliceByNamesCommandOldMetadata fails on trunk
> -----------------------------------------------------------------------
>
>                 Key: CASSANDRA-9511
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9511
>             Project: Cassandra
>          Issue Type: Test
>            Reporter: Ariel Weisberg
>            Assignee: Ariel Weisberg
>
> See http://cassci.datastax.com/view/trunk/job/trunk_testall/121/testReport/org.apache.cassandra.db/ColumnFamilyStoreTest/testSliceByNamesCommandOldMetadata/
> {noformat}
> junit.framework.AssertionFailedError
> 	at org.apache.cassandra.io.util.FileUtils.renameWithConfirm(FileUtils.java:171)
> 	at org.apache.cassandra.io.util.FileUtils.renameWithConfirm(FileUtils.java:166)
> 	at org.apache.cassandra.io.sstable.format.SSTableWriter.rename(SSTableWriter.java:266)
> 	at org.apache.cassandra.db.ColumnFamilyStore.loadNewSSTables(ColumnFamilyStore.java:766)
> 	at org.apache.cassandra.db.ColumnFamilyStoreTest.testSliceByNamesCommandOldMetadata(ColumnFamilyStoreTest.java:1125)
> {noformat}
> I changed the logging a bit to track down the failed rename
> {noformat}
> DEBUG [MemtableFlushWriter:1] 2015-05-29 11:50:13,600 Renaming build/test/cassandra/data:0/system/compactions_in_progress-55080ab05d9c388690a4acb25fe1f77b/tmp-la-4-big-TOC.txt
to build      /test/cassandra/data:0/system/compactions_in_progress-55080ab05d9c388690a4acb25fe1f77b/la-4-big-TOC.txt
> DEBUG [main] 2015-05-29 11:50:13,612 Failed renaming build/test/cassandra/data:0/ColumnFamilyStoreTest1/Standard1-62503c50061a11e5a1d32fd3bb27a264/la-4-big-TOC.txt
to build/test/cassan      dra/data:0/ColumnFamilyStoreTest1/Standard1-62503c50061a11e5a1d32fd3bb27a264/la-11-big-TOC.txt
> {noformat}
> Looks like MemtaleFlushWriter is racing with the unit test thread to rename the file.
This may be an actual bug since a similar race could occur when nodetool invokes CFS.loadNewSSTables.



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

Mime
View raw message