flowable / flowable-engine

A compact and highly efficient workflow and Business Process Management (BPM) platform for developers, system admins and business users.
https://www.flowable.org
Apache License 2.0
8.01k stars 2.63k forks source link

Deadlock found when trying to get lock; try restarting transaction #3866

Open camellia57 opened 8 months ago

camellia57 commented 8 months ago

Describe the bug A clear and concise description of what the bug is. deadlocks are made when sub-processes are invoked,callactivity Expected behavior A clear and concise description of what you expected to happen. The subprocess can be successfully invoked Code If applicable, add the code that you are using when having the issue.

Additional context bpm1 version:6.7.2 database :mysql Spring Boot

tijsrademakers commented 8 months ago

Ok, can you share a unit test project showing the issue?

camellia57 commented 8 months ago

Ok, can you share a unit test project showing the issue?

It's not an inevitable issue,It sometimes occurs more frequently in our production environment

camellia57 commented 8 months ago

Ok, can you share a unit test project showing the issue?

Providing the appropriate unit test cases is difficult,we use callactivity , then ExecutionListener for setVariable , last GloablListener FlowableEngineEventType.TASK_ASSIGNED for ASSIGNED

tijsrademakers commented 8 months ago

There is no general issue with creating a sub process instance with a call activity in Flowable, so we need to be able to reproduce your issue in some way. Therefore a unit test showing the issue is required for us to further analyse this.