wwitt
February 20, 2020, 2:23pm
4
Multiple async tasks in parallel might cause issues if they are short lived and finish at nearly the same time. There was a post a while back with a similar error:
I actually included it because it may allow you to remove some of your custom wiring of the messages into the process.
You are correct that most of the time a race condition will trigger a FlowableOptimisticException but clearly something is getting around the locking we do have. I would expect a slow database connection to lead to connection timeouts not a deadlock, though I suppose it increase the time a transaction takes and also time the application is vulnerable to this occurring.
I’d lo…