I run an application in Tomcat that is connected to Aurora DB Cluster comprised of reader and writer instance. I use MariaDB JDBC Driver and Hikari connection pool.
The application occasionally stops working. In the application thread dump I found that MariaDb-failover threads are in a dead-lock state, and that in turn blocks core connection adder Hikari thread. As a consequence no new database connection can be created.