Return-Path: Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: (qmail 27443 invoked from network); 17 Dec 2005 02:11:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Dec 2005 02:11:55 -0000 Received: (qmail 31206 invoked by uid 500); 17 Dec 2005 02:11:54 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 31187 invoked by uid 500); 17 Dec 2005 02:11:54 -0000 Mailing-List: contact derby-commits-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Derby Development" List-Id: Delivered-To: mailing list derby-commits@db.apache.org Received: (qmail 31175 invoked by uid 99); 17 Dec 2005 02:11:54 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Dec 2005 18:11:54 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 16 Dec 2005 18:11:53 -0800 Received: (qmail 27368 invoked by uid 65534); 17 Dec 2005 02:11:33 -0000 Message-ID: <20051217021132.27359.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r357272 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/OnlineBackupTest1.java Date: Sat, 17 Dec 2005 02:11:32 -0000 To: derby-commits@db.apache.org From: mikem@apache.org X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: mikem Date: Fri Dec 16 18:11:28 2005 New Revision: 357272 URL: http://svn.apache.org/viewcvs?rev=357272&view=rev Log: DERBY-750, committing on behalf of Suresh Thalamati. By looking at the stacks, my suspicion is backup is looking at a table that is not completely created yet, container file might be there but the first page (Alloc page) might have been created. It might take some time for me to fix this one. As a temporary solution, attached patch comments out the section of the test that might be hitting this problem. Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/OnlineBackupTest1.java Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/OnlineBackupTest1.java URL: http://svn.apache.org/viewcvs/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/OnlineBackupTest1.java?rev=357272&r1=357271&r2=357272&view=diff ============================================================================== --- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/OnlineBackupTest1.java (original) +++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/OnlineBackupTest1.java Fri Dec 16 18:11:28 2005 @@ -86,11 +86,19 @@ dmlThread.start(); // run some DDL create/drop tables in another thread - Connection ddlConn = getConnection(); - DatabaseActions ddlActions = + + + Connection ddlConn = getConnection(); + + /* Disabling create table operation running parallel to + * backup because of DERBY-750 bug. This block of code + * should be uncommented when DERBY-750 is fixed. + + DatabaseActions ddlActions = new DatabaseActions(DatabaseActions.CREATEDROPS, ddlConn); - Thread ddlThread = new Thread(ddlActions, "DDL_THREAD"); - ddlThread.start(); + Thread ddlThread = new Thread(ddlActions, "DDL_THREAD"); + ddlThread.start(); + */ // sleep for few seconds just to make sure backup thread is actually // gone to a wait state for unlogged actions to commit. @@ -107,9 +115,9 @@ backup.waitForBackupToEnd(); backupThread.join(); dmlActions.stopActivity(); - ddlActions.stopActivity(); + // ddlActions.stopActivity(); -- uncomment this when derby-750 is fixed dmlThread.join(); - ddlThread.join(); + // ddlThread.join(); -- uncomment this when derby-750 is fixed // close the connections. conn.close();