Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 26016 invoked from network); 2 Dec 2010 09:05:35 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Dec 2010 09:05:35 -0000 Received: (qmail 23954 invoked by uid 500); 2 Dec 2010 09:05:35 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 23765 invoked by uid 500); 2 Dec 2010 09:05:34 -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 23753 invoked by uid 99); 2 Dec 2010 09:05:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 09:05:34 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 09:05:33 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oB295C1a029803 for ; Thu, 2 Dec 2010 09:05:13 GMT Message-ID: <13650547.64211291280712863.JavaMail.jira@thor> Date: Thu, 2 Dec 2010 04:05:12 -0500 (EST) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-2949) AssertionFailedError in testStalePlansOnLargeTable MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-2949?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1296= 6027#action_12966027 ]=20 Knut Anders Hatlen commented on DERBY-2949: ------------------------------------------- Thanks Lily, that's a very useful observation! The query has been executed = 12 times at the point of the failing assert. So it seems like in the good c= ase the query is recompiled after the tenth execution (the test runs with d= erby.language.stalePlanCheckInterval=3D10, so that sounds reasonable). In t= he failing case, however, no recompilation has happened, and all 12 executi= ons have used the same plan. > AssertionFailedError in testStalePlansOnLargeTable > -------------------------------------------------- > > Key: DERBY-2949 > URL: https://issues.apache.org/jira/browse/DERBY-2949 > Project: Derby > Issue Type: Bug > Components: Test > Affects Versions: 10.3.1.4 > Environment: Microsoft=C2=A9 Windows VistaT Ultimate - 6.0.6000 N= /A Build 6000 > WindowsNT 0 6 > 2 X [Sun Fire X4100 Server x64 Family 15 Model 37 Stepping 1 AuthenticAMD= ]: ~2592 MHz, cache. 3=C3=BF967 Total Memory. > JVM: Sun Microsystems Inc. 1.5.0_07-b03=20 > Reporter: Henri van de Scheur > Priority: Minor > Attachments: expected-plan.txt, plan.txt > > > testStalePlansOnLargeTable(org.apache.derbyTesting.functionTests.tests.la= ng.StalePlansTest)junit.framework.AssertionFailedError > =09at org.apache.derbyTesting.functionTests.tests.lang.StalePlansTest.tes= tStalePlansOnLargeTable(StalePlansTest.java:264) > =09at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > =09at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp= l.java:39) > =09at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc= essorImpl.java:25) > =09at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.jav= a:88) > =09at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24) > =09at junit.extensions.TestSetup$1.protect(TestSetup.java:21) > =09at junit.extensions.TestSetup.run(TestSetup.java:25) > =09at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:= 57) > =09at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24) > =09at junit.extensions.TestSetup$1.protect(TestSetup.java:21) > =09at junit.extensions.TestSetup.run(TestSetup.java:25) > =09at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:= 57) --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.