Bug #39611 | ReplicationDriver not selecting last host specified in JDBC config | ||
---|---|---|---|
Submitted: | 23 Sep 2008 17:36 | Modified: | 21 Nov 2008 13:34 |
Reporter: | Nu Deal | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / J | Severity: | S2 (Serious) |
Version: | 5.1.6 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | Contribution, replication driver |
[23 Sep 2008 17:36]
Nu Deal
[30 Sep 2008 12:09]
Tonci Grgin
Hi and thanks for your report. Verified as described by looking into code.
[18 Nov 2008 0:09]
Todd Farmer
This was resolved in 5.1.7 by patch #739: - int indexRange = hostList.size() - 1; + int indexRange = hostList.size(); Comment from merge: Fixed BUG#39611 - ReplicationConnection never sends queries to last host in slave list.
[18 Nov 2008 16:42]
Todd Farmer
Workaround is to list the final slave twice in pre-5.1.7 versions.
[21 Nov 2008 13:34]
Tony Bedford
An entry was added to the 5.1.7 changelog: When configuring the Java Replication Driver the last slave specified was never used.
[21 Nov 2008 13:36]
Tony Bedford
An entry was added to the 5.1.7 changelog: When configuring the Java Replication Driver the last slave specified was never used.