[
https://issues.apache.org/jira/browse/DERBY-973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13560712#comment-13560712
]
Knut Anders Hatlen commented on DERBY-973:
------------------------------------------
The race condition we fixed in DERBY-5894 could have other consequences than
the NPE reported in that issue, depending on timing. I think one possible
scenario is that the checkpoint thread ends up re-invoking the currently
running backupContainer() action, so that two threads attempt to write to the
same file, which may corrupt the backup and cause exceptions like the ones
reported here. So there is a possibility that the fix for DERBY-5894 also fixed
this issue. If it doesn't turn up again in any test runs for a while, I think
we can close the issue.
> Restore fails in OnlineBackupTest1
> ----------------------------------
>
> Key: DERBY-973
> URL: https://issues.apache.org/jira/browse/DERBY-973
> Project: Derby
> Issue Type: Bug
> Components: Store, Test
> Affects Versions: 10.2.1.6
> Environment: Solaris 10 3/05 s10_74L2a X86 - SunOS 5.10 Generic, JVM:
> Sun Microsystems Inc. 1.5.0_04
> Reporter: Ole Solberg
> Labels: derby_triage10_8
> Attachments: 377370.zip, d973.zip, derby.log, derby.log
>
>
> "Signature":
> ********* Diff file storeall/storemore/OnlineBackupTest1.diff
> *** Start: OnlineBackupTest1 jdk1.5.0_04 storeall:storemore 2006-02-13
> 16:17:08 ***
> 6 del
> < Restored From the Backup
> 7 del
> < Consistency Check is Done
> 8 del
> < database shutdown properly
> 9 del
> < End Online Backup Test1
> 9 add
> > ERROR XJ040: Failed to start database 'wombat', see the next exception for
> > details.
> > ERROR XSDG0: Page Page(1,Container(0, 14929)) could not be read from disk.
> > SQL Exception: Failed to start database 'wombat', see the next exception
> > for details.
> Test Failed.
> *** End: OnlineBackupTest1 jdk1.5.0_04 storeall:storemore 2006-02-13
> 16:18:08 ***
--
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