Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 42048 invoked from network); 22 Jun 2006 01:23:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Jun 2006 01:23:58 -0000 Received: (qmail 93624 invoked by uid 500); 22 Jun 2006 01:23:57 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 93587 invoked by uid 500); 22 Jun 2006 01:23:57 -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 93578 invoked by uid 99); 22 Jun 2006 01:23:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jun 2006 18:23:57 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jun 2006 18:23:56 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 26F63410005 for ; Thu, 22 Jun 2006 01:22:31 +0000 (GMT) Message-ID: <3973604.1150939351156.JavaMail.jira@brutus> Date: Thu, 22 Jun 2006 01:22:31 +0000 (GMT+00:00) From: "Suresh Thalamati (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-1435) Conglomerate does not exist occurs in a specific case after dropping a table referenced by a trigger In-Reply-To: <7275744.1150933349862.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-1435?page=comments#action_12417226 ] Suresh Thalamati commented on DERBY-1435: ----------------------------------------- Good catch deepa. My guess is the plans in the statement cache are not getting invalidated corretcly when table t1 is dropped. I tried the repro by setting the statement cache value to zero ( derby.language.statementCacheSize=0), when I do that I did not get any "The conglomerate (896) requested does not exist" errors. I think the problem may not be in the store layer. Thanks -suresht > Conglomerate does not exist occurs in a specific case after dropping a table referenced by a trigger > ---------------------------------------------------------------------------------------------------- > > Key: DERBY-1435 > URL: http://issues.apache.org/jira/browse/DERBY-1435 > Project: Derby > Type: Bug > Components: Store > Versions: 10.2.0.0 > Reporter: Deepa Remesh > Attachments: repro1435.sql > > This exception occurs in the following case: > 1. Create tables t1 and t2. Create a trigger on t2 whose triggering action is to insert a row into t1 > 2. Insert a value v1 into t2. Verify the trigger was fired by looking at contents of t1. > 3. Drop table t1. > 4. Insert a value v2 into t2. This will give an exception to indicate that table t1 does not exist. > 5. Insert the same value v1 into t2. Instead of the exception in Step 4, this gives "ERROR XSAI2: The conglomerate (896) requested does not exist." > 6. Re-create table t1. > 7. Insert v2 into t2. This succeeds. > 8. Try to insert the problem value v1 into t2. This still gives "ERROR XSAI2: The conglomerate (896) requested does not exist." > 9. Shutdown and reconnect to the database. Try to insert the problem value v1 into t2. Now this succeeds. > So the exception occurs only in the specific case where we try to insert the same value that we had inserted before dropping the table referenced by the trigger. I'll attach a sql script to repro this. -- 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