Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5CA85F345 for ; Sat, 23 Mar 2013 22:09:15 +0000 (UTC) Received: (qmail 49594 invoked by uid 500); 23 Mar 2013 22:09:15 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 49571 invoked by uid 500); 23 Mar 2013 22:09:15 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 49561 invoked by uid 99); 23 Mar 2013 22:09:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Mar 2013 22:09:15 +0000 Date: Sat, 23 Mar 2013 22:09:15 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-5242) Directories.migrateFile() does not handle -old or -tmp LDB manifests MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-5242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-5242: -------------------------------------- Assignee: Marcus Eriksson (was: amorton) > 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