cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-5242) Directories.migrateFile() does not handle -old or -tmp LDB manifests
Date Sat, 23 Mar 2013 22:09:15 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-5242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13611880#comment-13611880
] 

Jonathan Ellis commented on CASSANDRA-5242:
-------------------------------------------

Should probably fix even though it's obsolete in 2.0.
                
> Directories.migrateFile() does not handle -old or -tmp LDB manifests 
> ---------------------------------------------------------------------
>
>                 Key: CASSANDRA-5242
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5242
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.9, 1.2.0
>            Reporter: amorton
>            Assignee: Marcus Eriksson
>            Priority: Minor
>
> During LDB compaction a -old.json file is created with the previous manifest.
> Directories.migrateFile() only checks for the .json extension and uses the length to
determine the CF name. 
> This can result in the -old.json manifest getting copied to a CF-old directory in the
new layout. 
> see http://www.mail-archive.com/user@cassandra.apache.org/msg27583.html for an example


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message