cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tyler Hobbs (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-10006) 2.1 format sstable filenames with "tmp" are not handled by 3.0
Date Thu, 06 Aug 2015 17:11:05 GMT
Tyler Hobbs created CASSANDRA-10006:

             Summary: 2.1 format sstable filenames with "tmp" are not handled by 3.0
                 Key: CASSANDRA-10006
             Project: Cassandra
          Issue Type: Bug
          Components: Core
            Reporter: Tyler Hobbs
            Assignee: Yuki Morishita
             Fix For: 3.0 beta 1

In 3.0, {{Descriptor.fromFilename()}} doesn't handle "tmp" in sstable filenames in the 2.1
(ka) format.  If you start 3.0 with one of these filenames, you'll see an exception like the

ERROR [main] 2015-08-05 10:15:57,872 - Exception encountered during
java.lang.AssertionError: Invalid file name system-schema_columns-tmp-ka-5-Filter.db in /tmp/dtest-Jstsy2/test/node1/data/system/schema_columns-296e9c049bec3085827dc17d3df2122a
    at ~[main/:na]
    at ~[main/:na]
    at org.apache.cassandra.service.StartupChecks$7$1.visitFile( ~[main/:na]
    at org.apache.cassandra.service.StartupChecks$7$1.visitFile( ~[main/:na]
    at java.nio.file.Files.walkFileTree( ~[na:1.8.0_45]
    at java.nio.file.Files.walkFileTree( ~[na:1.8.0_45]
    at org.apache.cassandra.service.StartupChecks$7.execute( ~[main/:na]
    at org.apache.cassandra.service.StartupChecks.verify( ~[main/:na]
    at org.apache.cassandra.service.CassandraDaemon.setup( [main/:na]
    at org.apache.cassandra.service.CassandraDaemon.activate( [main/:na]
    at org.apache.cassandra.service.CassandraDaemon.main( [main/:na]

I can reliably reproduce this with an [upgrade dtest|]
from CASSANDRA-9704, but it should also be reproducible by simply starting 3.0 with a filename
like the one from the error message.

This message was sent by Atlassian JIRA

View raw message