Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-1559

DataCacheManager initialization isn't thread safe.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: datacache
    • Labels:
      None

      Description

      When running normally, some of OpenJPA configuration is lazily loaded and is not thread safe. Normally this isn't an issue if one thread has a different configured object than another.

      Today I came across a problem when using the DataCache EvictionScheduler that multiple scheduler threads can get created and kicked off.

        Attachments

          Activity

            People

            • Assignee:
              curtisr7 Rick Curtis
              Reporter:
              curtisr7 Rick Curtis
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: