Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1139: fix: db transaction inconsistencies when deleting keys r=megglos a=megglos ## Description The main cause of #1001 was the bug fixed via 77e162c . Within the same transaction you couldn't insert a previously deleted key, this happened as after processing the first processes complete command a new message start event correlation was triggered, failing as the previous active process instance was still in the database as the transaction wasn't commited and deleted keys of the transaction weren't checked. I also noticed there was a bug in the `get` by key method, not checking the deletedKeys set either and fixed that too with bf9e1eb . I verified the fix as well with the test case provided in the original issue, I decided against adding it though as the unit test covers the behavior of the db transaction that was the cause of the message start event test case failing. ## Related issues <!-- Which issues are closed by this PR or are related --> closes #1001 Co-authored-by: Meggle (Sebastian Bathke) <sebastian.bathke@camunda.com>
- Loading branch information