Bug #56100 | Replication driver routes DML statements to read-only slaves | ||
---|---|---|---|
Submitted: | 18 Aug 2010 23:04 | Modified: | 1 Dec 2015 20:41 |
Reporter: | Todd Farmer (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / J | Severity: | S2 (Serious) |
Version: | 5.1.13 | OS: | Any |
Assigned to: | Filipe Silva | CPU Architecture: | Any |
[18 Aug 2010 23:04]
Todd Farmer
[3 May 2011 14:02]
Mark Matthews
This should be fixed by the changes made for BUG#51643. Todd could you test this?
[3 May 2011 14:05]
Mark Matthews
(and if not fixed, the fix is the same, setup the connection proxy for all created statements).
[1 Dec 2015 20:41]
Daniel So
Added the following entry to the Connector/J 5.1.38 changelog: "After the initial call of Connection.setReadOnly() after a replication-aware connection was created, subsequent calls of Connection.setReadOnly() could not change the nature of the connection. This has been fixed by putting replication connections under the multi-host connection proxy structure that Connector/J has been using for load-balanced and fail-over connections."