Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-4947

Missing/broken synchronization in BasicDependencyManager.getDependents()

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.8.1.2
    • Fix Version/s: 10.8.1.2
    • Component/s: SQL
    • Labels:
      None
    • Bug behavior facts:
      Regression Test Failure

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kristwaa Kristian Waagan
                Reporter:
                kristwaa Kristian Waagan
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: