Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-1204

Merge process definition type and process definition xml type

    Details

    • Type: Task
    • Status: Done
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.0-alpha1, 2.2.0
    • Component/s: backend
    • Labels:
      None

      Description

      AT:

      • the process definition type and process definition xml type are merged

      Background:
      Right now, we have a definition type and an xml type which are storing redundant data. The only difference is that the xml type contains the additional xml field.

        Activity

        Hide
        sebastian.stamm Sebastian Stamm added a comment -

        The ProcessDefinitionWriter does not perform an upsert, causing a race condition with the ProcessDefinitionXmlWriter. Usually this bug does not occur, because the loading of the process definitions is much faster than loading the xml, but to be sure, we should handle the case that the xml was already imported when adding the process definition

        Show
        sebastian.stamm Sebastian Stamm added a comment - The ProcessDefinitionWriter does not perform an upsert, causing a race condition with the ProcessDefinitionXmlWriter. Usually this bug does not occur, because the loading of the process definitions is much faster than loading the xml, but to be sure, we should handle the case that the xml was already imported when adding the process definition

          People

          • Assignee:
            Unassigned
            Reporter:
            johannes.heinemann Johannes Heinemann
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: