You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Ole Solberg (JIRA)" <de...@db.apache.org> on 2006/02/23 21:14:37 UTC

[jira] Created: (DERBY-1042) store/OnlineBackupTest3.java intermittently hangs

store/OnlineBackupTest3.java intermittently hangs
-------------------------------------------------

         Key: DERBY-1042
         URL: http://issues.apache.org/jira/browse/DERBY-1042
     Project: Derby
        Type: Test
  Components: Regression Test Failure  
    Versions: 10.2.0.0    
 Environment: OS: Linux RedHat 4(Stentz 2.6.14-1.1644_FC4 i686) - Linux 2.6.14-1.1644_FC4 #1 Sun Nov 27 03:25:11 EST 2005, JVM: Sun Microsystems Inc. 1.4.2_10
OS: Linux 2.6.13-1.1532_FC4 #1 Thu Oct 20 01:30:08 EDT 2005 i686 i686 i386 GNU/Linux, JVM: Java HotSpot(TM) Client VM (1.4.2_02-b03 mixed mode)
    Reporter: Ole Solberg


store/OnlineBackupTest3.java hangs.

More info:

http://article.gmane.org/gmane.comp.apache.db.derby.devel/15336

http://www.multinet.no/~solberg/public/Apache/DerbyJvm1.4/Limited/testSummary-379835.html [Linux-2.6.14-1.1644 FC4]
> ERROR XSRS5: Error copying file (during backup) from /export/home/tmp/os136789/testingDerbyJvm1.4/Linux-2.6.14-1.1644_FC4_i686-i686/derbyall/derbyall/storeall/storemore/OnlineBackupTest3/wombat/jar/APP to extinout/onlinebackuptest/wombat/jar/APP.


-- 
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


[jira] Resolved: (DERBY-1042) store/OnlineBackupTest3.java intermittently hangs

Posted by "Suresh Thalamati (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-1042?page=all ]
     
Suresh Thalamati resolved DERBY-1042:
-------------------------------------

    Resolution: Fixed

> store/OnlineBackupTest3.java intermittently hangs
> -------------------------------------------------
>
>          Key: DERBY-1042
>          URL: http://issues.apache.org/jira/browse/DERBY-1042
>      Project: Derby
>         Type: Bug
>   Components: Store
>     Versions: 10.2.0.0
>  Environment: OS: Linux RedHat 4(Stentz 2.6.14-1.1644_FC4 i686) - Linux 2.6.14-1.1644_FC4 #1 Sun Nov 27 03:25:11 EST 2005, JVM: Sun Microsystems Inc. 1.4.2_10
> OS: Linux 2.6.13-1.1532_FC4 #1 Thu Oct 20 01:30:08 EDT 2005 i686 i686 i386 GNU/Linux, JVM: Java HotSpot(TM) Client VM (1.4.2_02-b03 mixed mode)
>     Reporter: Ole Solberg
>     Assignee: Suresh Thalamati
>      Fix For: 10.2.0.0
>  Attachments: OnlineBackupTest3.tar.gz, derby-1042.diff
>
> store/OnlineBackupTest3.java hangs.
> More info:
> http://article.gmane.org/gmane.comp.apache.db.derby.devel/15336
> http://www.multinet.no/~solberg/public/Apache/DerbyJvm1.4/Limited/testSummary-379835.html [Linux-2.6.14-1.1644 FC4]
> > ERROR XSRS5: Error copying file (during backup) from /export/home/tmp/os136789/testingDerbyJvm1.4/Linux-2.6.14-1.1644_FC4_i686-i686/derbyall/derbyall/storeall/storemore/OnlineBackupTest3/wombat/jar/APP to extinout/onlinebackuptest/wombat/jar/APP.

-- 
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


[jira] Updated: (DERBY-1042) store/OnlineBackupTest3.java intermittently hangs

Posted by "Suresh Thalamati (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-1042?page=all ]

Suresh Thalamati updated DERBY-1042:
------------------------------------

    Attachment: derby-1042.diff

I could not reproduce this problem on my machine. By looking at the code I
found backup is getting unblocked before the post commit work is done. 
This may cause the error that is reported, if the jar files to copied to the
backup is deleted by the post commit.  Attached patch unblocks the backup
only after the post commit work that is schedules to run in the same
transaction is done. While scanning the code for this problem, I also noticed 
couple of other small issues, this patch addresses them also. 


DERBY-1042:

-- unblock the backup only after the post commit work to be done on the same
   transaction is complete. 
-- when backup is in progress drop stub files are not deleted during
   checkpoint. These are necessary to perform recovery starting from the 
   backup checkpoint. 
-- synchronized getContaineNames() that gets the containers to be written to
   the backup. This method need to be synchronized so that other privileged
   actions does not run in parallel and vice versa. 
 
-- Modified the OnlineBackupTest1.java and OnlineBackupTest3.java  tests to
   abort if there is a error during the backup instead of waiting incorrectly
   for the failed backup to complete forever. 


TESTS : derbyall test suite passed on Windows XP/JDK142

It would be great if some can review and commit this patch. 

svn stat:
M      java\engine\org\apache\derby\impl\store\raw\xact\Xact.java
M      java\engine\org\apache\derby\impl\store\raw\log\LogToFile.java
M      java\engine\org\apache\derby\impl\store\raw\data\BaseDataFileFactory.java

M      java\testing\org\apache\derbyTesting\functionTests\tests\store\OnlineBackup.java
M      java\testing\org\apache\derbyTesting\functionTests\tests\store\OnlineBackupTest1.java
M      java\testing\org\apache\derbyTesting\functionTests\tests\store\OnlineBackupTest3.java


> store/OnlineBackupTest3.java intermittently hangs
> -------------------------------------------------
>
>          Key: DERBY-1042
>          URL: http://issues.apache.org/jira/browse/DERBY-1042
>      Project: Derby
>         Type: Bug
>   Components: Store
>     Versions: 10.2.0.0
>  Environment: OS: Linux RedHat 4(Stentz 2.6.14-1.1644_FC4 i686) - Linux 2.6.14-1.1644_FC4 #1 Sun Nov 27 03:25:11 EST 2005, JVM: Sun Microsystems Inc. 1.4.2_10
> OS: Linux 2.6.13-1.1532_FC4 #1 Thu Oct 20 01:30:08 EDT 2005 i686 i686 i386 GNU/Linux, JVM: Java HotSpot(TM) Client VM (1.4.2_02-b03 mixed mode)
>     Reporter: Ole Solberg
>     Assignee: Suresh Thalamati
>      Fix For: 10.2.0.0
>  Attachments: OnlineBackupTest3.tar.gz, derby-1042.diff
>
> store/OnlineBackupTest3.java hangs.
> More info:
> http://article.gmane.org/gmane.comp.apache.db.derby.devel/15336
> http://www.multinet.no/~solberg/public/Apache/DerbyJvm1.4/Limited/testSummary-379835.html [Linux-2.6.14-1.1644 FC4]
> > ERROR XSRS5: Error copying file (during backup) from /export/home/tmp/os136789/testingDerbyJvm1.4/Linux-2.6.14-1.1644_FC4_i686-i686/derbyall/derbyall/storeall/storemore/OnlineBackupTest3/wombat/jar/APP to extinout/onlinebackuptest/wombat/jar/APP.

-- 
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


[jira] Updated: (DERBY-1042) store/OnlineBackupTest3.java intermittently hangs

Posted by "Suresh Thalamati (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-1042?page=all ]

Suresh Thalamati updated DERBY-1042:
------------------------------------

      Component: Store
                     (was: Regression Test Failure)
           type: Bug  (was: Test)
    Fix Version: 10.2.0.0
     Other Info: [Patch available]

> store/OnlineBackupTest3.java intermittently hangs
> -------------------------------------------------
>
>          Key: DERBY-1042
>          URL: http://issues.apache.org/jira/browse/DERBY-1042
>      Project: Derby
>         Type: Bug
>   Components: Store
>     Versions: 10.2.0.0
>  Environment: OS: Linux RedHat 4(Stentz 2.6.14-1.1644_FC4 i686) - Linux 2.6.14-1.1644_FC4 #1 Sun Nov 27 03:25:11 EST 2005, JVM: Sun Microsystems Inc. 1.4.2_10
> OS: Linux 2.6.13-1.1532_FC4 #1 Thu Oct 20 01:30:08 EDT 2005 i686 i686 i386 GNU/Linux, JVM: Java HotSpot(TM) Client VM (1.4.2_02-b03 mixed mode)
>     Reporter: Ole Solberg
>     Assignee: Suresh Thalamati
>      Fix For: 10.2.0.0
>  Attachments: OnlineBackupTest3.tar.gz
>
> store/OnlineBackupTest3.java hangs.
> More info:
> http://article.gmane.org/gmane.comp.apache.db.derby.devel/15336
> http://www.multinet.no/~solberg/public/Apache/DerbyJvm1.4/Limited/testSummary-379835.html [Linux-2.6.14-1.1644 FC4]
> > ERROR XSRS5: Error copying file (during backup) from /export/home/tmp/os136789/testingDerbyJvm1.4/Linux-2.6.14-1.1644_FC4_i686-i686/derbyall/derbyall/storeall/storemore/OnlineBackupTest3/wombat/jar/APP to extinout/onlinebackuptest/wombat/jar/APP.

-- 
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


[jira] Assigned: (DERBY-1042) store/OnlineBackupTest3.java intermittently hangs

Posted by "Suresh Thalamati (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-1042?page=all ]

Suresh Thalamati reassigned DERBY-1042:
---------------------------------------

    Assign To: Suresh Thalamati

> store/OnlineBackupTest3.java intermittently hangs
> -------------------------------------------------
>
>          Key: DERBY-1042
>          URL: http://issues.apache.org/jira/browse/DERBY-1042
>      Project: Derby
>         Type: Test
>   Components: Regression Test Failure
>     Versions: 10.2.0.0
>  Environment: OS: Linux RedHat 4(Stentz 2.6.14-1.1644_FC4 i686) - Linux 2.6.14-1.1644_FC4 #1 Sun Nov 27 03:25:11 EST 2005, JVM: Sun Microsystems Inc. 1.4.2_10
> OS: Linux 2.6.13-1.1532_FC4 #1 Thu Oct 20 01:30:08 EDT 2005 i686 i686 i386 GNU/Linux, JVM: Java HotSpot(TM) Client VM (1.4.2_02-b03 mixed mode)
>     Reporter: Ole Solberg
>     Assignee: Suresh Thalamati
>  Attachments: OnlineBackupTest3.tar.gz
>
> store/OnlineBackupTest3.java hangs.
> More info:
> http://article.gmane.org/gmane.comp.apache.db.derby.devel/15336
> http://www.multinet.no/~solberg/public/Apache/DerbyJvm1.4/Limited/testSummary-379835.html [Linux-2.6.14-1.1644 FC4]
> > ERROR XSRS5: Error copying file (during backup) from /export/home/tmp/os136789/testingDerbyJvm1.4/Linux-2.6.14-1.1644_FC4_i686-i686/derbyall/derbyall/storeall/storemore/OnlineBackupTest3/wombat/jar/APP to extinout/onlinebackuptest/wombat/jar/APP.

-- 
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


[jira] Closed: (DERBY-1042) store/OnlineBackupTest3.java intermittently hangs

Posted by "Ole Solberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-1042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ole Solberg closed DERBY-1042.
------------------------------


> store/OnlineBackupTest3.java intermittently hangs
> -------------------------------------------------
>
>                 Key: DERBY-1042
>                 URL: https://issues.apache.org/jira/browse/DERBY-1042
>             Project: Derby
>          Issue Type: Bug
>          Components: Store
>    Affects Versions: 10.2.1.6
>         Environment: OS: Linux RedHat 4(Stentz 2.6.14-1.1644_FC4 i686) - Linux 2.6.14-1.1644_FC4 #1 Sun Nov 27 03:25:11 EST 2005, JVM: Sun Microsystems Inc. 1.4.2_10
> OS: Linux 2.6.13-1.1532_FC4 #1 Thu Oct 20 01:30:08 EDT 2005 i686 i686 i386 GNU/Linux, JVM: Java HotSpot(TM) Client VM (1.4.2_02-b03 mixed mode)
>            Reporter: Ole Solberg
>         Assigned To: Suresh Thalamati
>             Fix For: 10.2.1.6
>
>         Attachments: derby-1042.diff, OnlineBackupTest3.tar.gz
>
>
> store/OnlineBackupTest3.java hangs.
> More info:
> http://article.gmane.org/gmane.comp.apache.db.derby.devel/15336
> http://www.multinet.no/~solberg/public/Apache/DerbyJvm1.4/Limited/testSummary-379835.html [Linux-2.6.14-1.1644 FC4]
> > ERROR XSRS5: Error copying file (during backup) from /export/home/tmp/os136789/testingDerbyJvm1.4/Linux-2.6.14-1.1644_FC4_i686-i686/derbyall/derbyall/storeall/storemore/OnlineBackupTest3/wombat/jar/APP to extinout/onlinebackuptest/wombat/jar/APP.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DERBY-1042) store/OnlineBackupTest3.java intermittently hangs

Posted by "Ole Solberg (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-1042?page=all ]

Ole Solberg updated DERBY-1042:
-------------------------------

    Attachment: OnlineBackupTest3.tar.gz

> store/OnlineBackupTest3.java intermittently hangs
> -------------------------------------------------
>
>          Key: DERBY-1042
>          URL: http://issues.apache.org/jira/browse/DERBY-1042
>      Project: Derby
>         Type: Test
>   Components: Regression Test Failure
>     Versions: 10.2.0.0
>  Environment: OS: Linux RedHat 4(Stentz 2.6.14-1.1644_FC4 i686) - Linux 2.6.14-1.1644_FC4 #1 Sun Nov 27 03:25:11 EST 2005, JVM: Sun Microsystems Inc. 1.4.2_10
> OS: Linux 2.6.13-1.1532_FC4 #1 Thu Oct 20 01:30:08 EDT 2005 i686 i686 i386 GNU/Linux, JVM: Java HotSpot(TM) Client VM (1.4.2_02-b03 mixed mode)
>     Reporter: Ole Solberg
>  Attachments: OnlineBackupTest3.tar.gz
>
> store/OnlineBackupTest3.java hangs.
> More info:
> http://article.gmane.org/gmane.comp.apache.db.derby.devel/15336
> http://www.multinet.no/~solberg/public/Apache/DerbyJvm1.4/Limited/testSummary-379835.html [Linux-2.6.14-1.1644 FC4]
> > ERROR XSRS5: Error copying file (during backup) from /export/home/tmp/os136789/testingDerbyJvm1.4/Linux-2.6.14-1.1644_FC4_i686-i686/derbyall/derbyall/storeall/storemore/OnlineBackupTest3/wombat/jar/APP to extinout/onlinebackuptest/wombat/jar/APP.

-- 
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