Spent some time today on this... Actually when I turn on autocommit and 
crash the DB, processors do block but they ALL go into Open state, which is 
good. But for some reason my actor holding the datasource isn't responding 
anymore and I end up with this when asking for a connection :

akka.pattern.AskTimeoutException: Ask timed out on 
[Actor[akka://catalinaSys/user/connectionFactory#-1136872742]] 
after [10000 ms]

It isn't blowing up either because I don't have my hook log on restart 
(supervisor is the guardian here). What bugs me is HikariCP log :

After cleanup pool stats HikariPool-0 (total=19, inUse=1, avail=18, 
> waiting=0)
>

So there are connections available but I get timeouts instead :( Here's how 
I do it :

case GetConnection => sender() ! datasource.map(ds => ds.getConnection).get

datasource is an Option[HikariDataSource], and if isn't there then it 
should just blow up and restart.

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to