OpenJPA
  1. OpenJPA
  2. OPENJPA-1296 WriteBehindCache Problems
  3. OPENJPA-1247

WriteBehindCallback sleepTime interval of one EMF datacache adversely impacting other EMF datacache

    Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.0
    • Component/s: writebehind
    • Labels:
      None

      Description

      This problem surfaced when the WriteBehind configuration testcases introduced in OPENJPA-1237 caused the existing WriteBehind testcases in trunk to fail. Apparently, the WriteBehindCallback sleepTime interval of one EMF datacache is being used and adversely impacting other EMF datacaches. This is not the desired behavior as the WriteBehind datacache for each EMF should exist and function independently of any other WriteBehind datacache(s). The easiest way to demonstrate this failure is to increase the WriteBehindCallback sleepTime internval from 1000 to 15000 milliseconds in each of the testcases in TestWriteBehindConfigurations, as it will cause other WriteBehind testcases in trunk to fail.

        Activity

        Hide
        Tim McConnell added a comment -

        This no longer appears to be a problem, or at least I can no longer produce it, which is good. However, before I close it I would like to ensure that the original problem does not resurface. This patch will ensure that. Please review and apply as appropriate. Thanks.

        Show
        Tim McConnell added a comment - This no longer appears to be a problem, or at least I can no longer produce it, which is good. However, before I close it I would like to ensure that the original problem does not resurface. This patch will ensure that. Please review and apply as appropriate. Thanks.
        Hide
        Donald Woods added a comment -

        Committed to trunk as r814644. Thanks Tim for the patch.

        Show
        Donald Woods added a comment - Committed to trunk as r814644. Thanks Tim for the patch.
        Hide
        Michael Dick added a comment -

        Reopening issues with WriteBehind.

        Show
        Michael Dick added a comment - Reopening issues with WriteBehind.

          People

          • Assignee:
            Unassigned
            Reporter:
            Tim McConnell
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development