cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Eriksson (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-5242) Directories.migrateFile() does not handle -old or -tmp LDB manifests
Date Sun, 24 Mar 2013 07:45:16 GMT

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

Marcus Eriksson updated CASSANDRA-5242:
---------------------------------------

    Attachment: 0001-CASSANDRA-5242.patch

patch against 1.1
                
> 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
>             Fix For: 1.1.11
>
>         Attachments: 0001-CASSANDRA-5242.patch
>
>
> 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