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

        Tim McConnell created issue -
        Tim McConnell made changes -
        Field Original Value New Value
        Assignee Michael Dick [ mikedd ] Tim McConnell [ mcconne ]
        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.
        Tim McConnell made changes -
        Attachment OPENJPA-1247.patch [ 12419367 ]
        Tim McConnell made changes -
        Patch Info [Patch Available]
        Tim McConnell made changes -
        Parent OPENJPA-1296 [ 12435519 ]
        Issue Type Bug [ 1 ] Sub-task [ 7 ]
        Donald Woods made changes -
        Assignee Tim McConnell [ mcconne ] Donald Woods [ drwoods ]
        Donald Woods made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        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.
        Donald Woods made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Fix Version/s 2.0.0-M3 [ 12314148 ]
        Fix Version/s 2.0.0 [ 12314019 ]
        Resolution Fixed [ 1 ]
        Michael Dick made changes -
        Affects Version/s 2.1.0 [ 12314542 ]
        Affects Version/s 2.0.0 [ 12314019 ]
        Fix Version/s 2.1.0 [ 12314542 ]
        Fix Version/s 2.0.0-M3 [ 12314148 ]
        Hide
        Michael Dick added a comment -

        Reopening issues with WriteBehind.

        Show
        Michael Dick added a comment - Reopening issues with WriteBehind.
        Michael Dick made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Donald Woods made changes -
        Assignee Donald Woods [ drwoods ]
        Patch Info [Patch Available]
        Michael Dick made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Won't Fix [ 2 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development