pefernan opened a new issue, #2168:
URL: https://github.com/apache/incubator-kie-issues/issues/2168

   Due to the nature of the usertask engine, where every update on the usertask 
performs an update on persistence layer, In some phases of the user tasks 
lifecycle the number of interactions with the database is too high causing 
deadlocks in DB if there's a high load or a lot of concurrent users. The 
crucial points are:
   
   - Activating the user task in the _UserTaskWorkItemHandler_ where, after 
connecting the usertask the WIH sets the task data, metadata and timers to the 
usertask
   - On lifecyle transitions (specially if we chain transitions) where multipla 
changes happen in state, outputs, timers..
   
   We need somehow to be able to group this operations in a batch and perform 
only one DB update after the operatins are completed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to