db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Matrigali (JIRA)" <derby-...@db.apache.org>
Subject [jira] Updated: (DERBY-1039) Database creation should fail if specified log device path already exists
Date Thu, 27 Apr 2006 16:51:39 GMT
     [ http://issues.apache.org/jira/browse/DERBY-1039?page=all ]

Mike Matrigali updated DERBY-1039:
----------------------------------


backported the fix for this issue into the 10.1 branch, targeted for the 10.1.3 release:

m101_142:20>svn commit

Sending        java\engine\org\apache\derby\impl\store\raw\log\LogToFile.java
Adding         java\testing\org\apache\derbyTesting\functionTests\master\LogDevi
ceTest.out
Sending        java\testing\org\apache\derbyTesting\functionTests\master\dblook_
test.out
Sending        java\testing\org\apache\derbyTesting\functionTests\suites\storemo
re.runall
Adding         java\testing\org\apache\derbyTesting\functionTests\tests\store\Lo
gDeviceTest.java
Adding         java\testing\org\apache\derbyTesting\functionTests\tests\store\Lo
gDeviceTest_app.properties
Sending        java\testing\org\apache\derbyTesting\functionTests\tests\store\co
pyfiles.ant
Sending        java\testing\org\apache\derbyTesting\functionTests\util\TestUtil.
java
Transmitting file data .....
Committed revision 397586.

> 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: Newcomer, Store
>     Versions: 10.2.0.0, 10.1.2.1, 10.3.0.0
>     Reporter: Knut Anders Hatlen
>     Assignee: Suresh Thalamati
>      Fix For: 10.1.3.0, 10.2.0.0, 10.1.2.4
>  Attachments: derby-1039.diff, 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


Mime
View raw message