apache / incubator-kie-drools

Drools is a rule engine, DMN engine and complex event processing (CEP) engine for Java.
http://www.drools.org
5.85k stars 2.49k forks source link

[incubator-kie-drools-5974] Possible deadlock with KieRepositoryImpl$… #6006

Closed tkobayas closed 2 months ago

tkobayas commented 3 months ago

…KieModuleRepo and KieRepositoryScannerImpl

Issue:

tkobayas commented 3 months ago

I fixed 7.x with a smaller change (lock order) https://github.com/kiegroup/drools/pull/56

But for main, I introduced ReentrantLock which is more explicit.

tkobayas commented 3 months ago

@mariofusco @lucamolteni Please review, thanks!