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

   
   When the engine cancels a job/timer during a transition, 
`QuarkusJobsService.synchronize()` always calls 
`registry.registerInterposedSynchronization(...)`. If that transaction was 
already marked for rollback (state `1` = `STATUS_MARKED_ROLLBACK`, e.g. after 
losing a deadlock), registering a sync is illegal and throws - turning a 
recoverable deadlock into a hard failure for the caller.
   
   The same pattern exists in `SpringbootJobsService.synchronize()`, which 
calls `TransactionSynchronizationManager.registerSynchronization(...)` without 
checking whether synchronization is active.
   


-- 
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