[OPT-1204] Merge process definition type and process definition xml type Created: 12/Apr/18  Updated: 18/Apr/19  Resolved: 12/Jul/18

Status: Done
Project: Camunda Optimize
Component/s: backend
Affects Version/s: None
Fix Version/s: 2.2.0-alpha1, 2.2.0

Type: Task Priority: L3 - Default
Reporter: Johannes Heinemann Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 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.



 Comments   
Comment by Sebastian Stamm [ 28/Jun/18 ]

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

Generated at Fri Jul 19 03:33:33 CEST 2019 using JIRA 6.4.6#64021-sha1:33e5b454af4594f54560ac233c30a6e00459507e.