Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-4867

Deployment Cache is not thread-safe

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Open
    • Priority: L3 - Default
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 7.4.x, 7.3.x, 7.2.x, 7.5.x
    • Component/s: engine
    • Labels:
      None

      Description

      The class org.camunda.bpm.engine.impl.persistence.deploy.DeploymentCache caches deployed resources (BPMN, CMMN, DMN models) and can be accessed by multiple threads in parallel. Internally it uses HashMaps. HashMaps are not thread-safe (e.g. chance for infinite loops when putting in parallel, see http://javaeesupportpatterns.blogspot.de/2012/08/java-7-hashmap-vs-concurrenthashmap.html).

      Probability of problem occurrence: very low (apparently no user ever had one so far, at least we did not notice)
      Worst-case damage: rather high (users might violate SLAs they give to the users of their process applications)

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            thorben.lindhauer Thorben Lindhauer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: