db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Waagan (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-4947) Missing/broken synchronization in BasicDependencyManager.getDependents()
Date Sun, 19 Dec 2010 23:01:06 GMT

     [ https://issues.apache.org/jira/browse/DERBY-4947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Kristian Waagan updated DERBY-4947:

    Attachment: derby-4947-1a-sync_fix.diff

Attaching patch 1a, which addresses the issue much in the same way as getProviders (creates
a copy of the list).

Regression tests passed.
Patch ready for review.

> 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:
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>         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.
You can reply to this email to add a comment to the issue online.

View raw message