Bug #8643 | Round-Robin doesn't work in some case. | ||
---|---|---|---|
Submitted: | 21 Feb 2005 10:14 | Modified: | 17 Mar 2005 22:26 |
Reporter: | Tetsuro Ikeda | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / J | Severity: | S2 (Serious) |
Version: | Connector/J 3.1.7 | OS: | Linux (SuSE Linux 9.1) |
Assigned to: | Eric Herman | CPU Architecture: | Any |
[21 Feb 2005 10:14]
Tetsuro Ikeda
[23 Feb 2005 14:15]
Aleksey Kishkin
Confirm. I attached a test case I used. it's output: connected to port:3306 connected to port:3307 Exception in thread "main" java.sql.SQLException: Server connection failure during transaction. Due to underlying exception: 'null'. ** BEGIN NESTED EXCEPTION ** ** END NESTED EXCEPTION ** Attempted reconnect 3 times. Giving up. at com.mysql.jdbc.Connection.createNewIO(Connection.java:1883) at com.mysql.jdbc.Connection.execSQL(Connection.java:2279) at com.mysql.jdbc.Connection.execSQL(Connection.java:2226) at com.mysql.jdbc.Statement.executeQuery(Statement.java:1159) at Bug8643.main(Bug8643.java:44)
[23 Feb 2005 14:16]
Aleksey Kishkin
test on java
Attachment: Bug8643.java (text/x-java), 1.52 KiB.
[1 Mar 2005 23:10]
Eric Herman
What a joy it is to find a bug submission with such a wonderfully simple testcase to demonstrate the error. And what further pleasure to find the fix submitted with the test case! Thank you very much. I've confirmed the bug, and included your fix on the 3.1.x branch. Thanks again.
[17 Mar 2005 22:26]
Mark Matthews
Thanks for your bug report. This is now fixed for 3.1.8 and newer.