Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
1.5.6
-
None
-
AWS Aurora
Spring JdbcTemplate and SimpleJdbcCall
rewriteBatchedStatements=true
Execute INSERT query using jdbcTemplate
Execute Stored Procedure using SimpleJdbcCall
Description
Inserting records failed after failover and throws an exception as following;
SQL state [HY000]; error code [1290]; (conn:6) The MySQL server is running with the --read-only option so it cannot execute this statement
Any exception starting with '08xxx' or '25Sxxx' handled and reset connection. Error code '1290' is treated general SQL exception and eventually application instance should be restarted to fix it.
In AuroraProtocol, it passes MustBeMasterConnection before executing query but it seems not used to validate the master connection.
Please help me if I missed any parameters in connection configuration.
Attachments
Issue Links
- relates to
-
CONJ-502 Aurora JDBC connections leaking between connection pools
-
- Closed
-
Diego,
I have emailed to you the requested log file. Note that I can only reproduce this problem as part of our standard automation test suite. So at this point I suspect there is a very particular sequence of events that results in this problem. Hopefully the log file will help you out.
I did not explicitly set "failOnReadOnly" (or "failOverReadOnly" for that matter).
Paul