Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.3.0
-
None
-
Reviewed
Description
Queue Management API - does not support parallel updates. When there are two parallel schedule conf updates (logAndApplyMutation), the first update is overwritten by the second one.
Currently the logAndApplyMutation creates LogMutation and stores it in a variable pendingMutation. This way at any given time there will be only one LogMutation. And so the two parallel logAndApplyMutation will override the pendingMutation and the later one only will be present.
The fix is to return LogMutation object by logAndApplyMutation which can be passed during confirmMutation. This fixes the parallel updates.