Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 54240 invoked from network); 28 Feb 2006 18:06:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Feb 2006 18:06:11 -0000 Received: (qmail 94895 invoked by uid 500); 28 Feb 2006 18:06:10 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 94858 invoked by uid 500); 28 Feb 2006 18:06:09 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 94830 invoked by uid 99); 28 Feb 2006 18:06:09 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Feb 2006 10:06:07 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 62471DD for ; Tue, 28 Feb 2006 19:05:46 +0100 (CET) Message-ID: <1535187691.1141149946400.JavaMail.jira@ajax.apache.org> Date: Tue, 28 Feb 2006 19:05:46 +0100 (CET) From: "Mike Matrigali (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-1039) Database creation should fail if specified log device path already exists In-Reply-To: <1495038187.1140680585093.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-1039?page=all ] Mike Matrigali updated DERBY-1039: ---------------------------------- Priority: Major (was: Minor) I think it is ok to allow existing empty directory, this probably is better for backward compatibility. > Database creation should fail if specified log device path already exists > ------------------------------------------------------------------------- > > Key: DERBY-1039 > URL: http://issues.apache.org/jira/browse/DERBY-1039 > Project: Derby > Type: Improvement > Components: Store, Newcomer > Versions: 10.2.0.0, 10.1.2.1, 10.3.0.0 > Reporter: Knut Anders Hatlen > Attachments: logd.sql > > If a database is created with logDevice pointing to a directory > containing old log files, one might experience errors during recovery. > ERROR XSDB4: Page Page(0,Container(0, 768)) is at version 2,657, the > log file contains change version 2,715, either there are log records > of this page missing, or this page did not get written out to disk > properly. > To avoid this problem, database creation should fail if logDevice is > pointing to an existing directory. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira