{"action":"opened","issue":{"url":"https://api.github.com/repos/brettwooldridge/HikariCP/issues/578","repository_url":"https://api.github.com/repos/brettwooldridge/HikariCP","labels_url":"https://api.github.com/repos/brettwooldridge/HikariCP/issues/578/labels{/name}","comments_url":"https://api.github.com/repos/brettwooldridge/HikariCP/issues/578/comments","events_url":"https://api.github.com/repos/brettwooldridge/HikariCP/issues/578/events","html_url":"https://github.com/brettwooldridge/HikariCP/issues/578","id":132156151,"number":578,"title":"Issues after upgrading connection pool to HikariCP","user":{"login":"jddipqd","id":17122732,"avatar_url":"https://avatars.githubusercontent.com/u/17122732?v=3","gravatar_id":"","url":"https://api.github.com/users/jddipqd","html_url":"https://github.com/jddipqd","followers_url":"https://api.github.com/users/jddipqd/followers","following_url":"https://api.github.com/users/jddipqd/following{/other_user}","gists_url":"https://api.github.com/users/jddipqd/gists{/gist_id}","starred_url":"https://api.github.com/users/jddipqd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jddipqd/subscriptions","organizations_url":"https://api.github.com/users/jddipqd/orgs","repos_url":"https://api.github.com/users/jddipqd/repos","events_url":"https://api.github.com/users/jddipqd/events{/privacy}","received_events_url":"https://api.github.com/users/jddipqd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-08T14:29:16Z","updated_at":"2016-02-08T14:29:16Z","closed_at":null,"body":"I was using a very old version of Apache Commons DBCP (1.2.2) together with mariadb-java-client (1.1.1). I tried upgrading them to HikariCP 2.3.4 and mariadb-java-client 1.3.4, however I was plagued with DB instability.\r\nIn the application logs there were lots of:\r\n```\r\n[WARN ] com.zaxxer.hikari.proxy.ConnectionProxy - Connection org.mariadb.jdbc.MariaDbConnection@1edbfe9 (HikariPool-0) marked as broken because of SQLSTATE(08), ErrorCode(-1).\r\njava.sql.SQLNonTransientConnectionException: Could not send query: Last stream not finished\r\n        at org.mariadb.jdbc.internal.util.ExceptionMapper.get(ExceptionMapper.java:123)\r\n        at org.mariadb.jdbc.internal.util.ExceptionMapper.throwException(ExceptionMapper.java:69)\r\n        at org.mariadb.jdbc.MariaDbStatement.executeQueryEpilog(MariaDbStatement.java:261)\r\n        at org.mariadb.jdbc.MariaDbStatement.execute(MariaDbStatement.java:290)\r\n        at org.mariadb.jdbc.MariaDbStatement.execute(MariaDbStatement.java:344)\r\n        at org.mariadb.jdbc.MariaDbConnection.rollback(MariaDbConnection.java:532)\r\n        at com.zaxxer.hikari.proxy.ConnectionProxy.rollback(ConnectionProxy.java:313)\r\n        at com.zaxxer.hikari.proxy.ConnectionJavassistProxy.rollback(ConnectionJavassistProxy.java)\r\n```\r\n\r\nAfter rolling back to previous driver and connection pool, everything returned to normal. \r\nAny ideas on white might cause the issue and how to resolve it?\r\n\r\nNot sure if i's related, but my transaction isolation is read uncommitted (set at connection pool level using transactionIsolation=\"TRANSACTION_READ_UNCOMMITTED\"\r\nHowever, it is also read uncommitted when using commons dbcp."}}