jeanouii commented on code in PR #1536:
URL: https://github.com/apache/activemq/pull/1536#discussion_r2535331497


##########
activemq-kahadb-store/src/main/java/org/apache/activemq/store/kahadb/scheduler/JobSchedulerImpl.java:
##########
@@ -797,6 +804,12 @@ protected void mainLoop() {
                 } finally {
                     this.store.readUnlockIndex();
 
+                    // deferred execution of all jobs to be scheduled to avoid 
deadlock with indexLock
+                    for (Runnable command : toSchedule) {
+                        command.run();

Review Comment:
   Thanks @mattrpav 
   I'll give it a try and push a better exception handling



-- 
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]
For further information, visit: https://activemq.apache.org/contact


Reply via email to