Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 190344137 for ; Wed, 25 May 2011 21:42:31 +0000 (UTC) Received: (qmail 85169 invoked by uid 500); 25 May 2011 21:42:30 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 85116 invoked by uid 500); 25 May 2011 21:42:30 -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 85005 invoked by uid 99); 25 May 2011 21:42:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 May 2011 21:42:30 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 May 2011 21:42:28 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 9DE44DF202 for ; Wed, 25 May 2011 21:41:47 +0000 (UTC) Date: Wed, 25 May 2011 21:41:47 +0000 (UTC) From: "Kristian Waagan (JIRA)" To: derby-dev@db.apache.org Message-ID: <2077323823.43333.1306359707643.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <26250267.205941292783281035.JavaMail.jira@thor> Subject: [jira] [Closed] (DERBY-4947) Missing/broken synchronization in BasicDependencyManager.getDependents() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-4947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kristian Waagan closed DERBY-4947. ---------------------------------- Closing issue. > Missing/broken synchronization in BasicDependencyManager.getDependents() > ------------------------------------------------------------------------ > > Key: DERBY-4947 > URL: https://issues.apache.org/jira/browse/DERBY-4947 > Project: Derby > Issue Type: Bug > Components: SQL > Affects Versions: 10.8.1.2 > Reporter: Kristian Waagan > Assignee: Kristian Waagan > Fix For: 10.8.1.2 > > Attachments: derby-4947-1a-sync_fix.diff > > > The method getDependents(Provider) in BasicDependencyManager isn't using proper synchronization in cases where a list has to be compiled by combining in-memory and on-disk dependencies. Returning a reference to the list obtained from the shared map is also a bug. > The test lang.XplainStatisticsTest.testSimpleQueryMultiWithInvalidation failed due to this issue (see [1]). > [1] http://dbtg.foundry.sun.com/derby/test/Daily/jvm1.5/testing/testlog/lin/1050670-suitesAll_diff.txt -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira