| Bug #39611 | ReplicationDriver not selecting last host specified in JDBC config | ||
|---|---|---|---|
| Submitted: | 23 Sep 2008 19:36 | Modified: | 21 Nov 2008 14:34 |
| Reporter: | Nu Deal | ||
| Status: | Closed | ||
| Category: | Connector/J | Severity: | S2 (Serious) |
| Version: | 5.1.6 | OS: | Any |
| Assigned to: | Target Version: | ||
| Tags: | Contribution, replication driver | ||
| Triage: | D3 (Medium) | ||
[23 Sep 2008 19:36]
Nu Deal
[30 Sep 2008 14:09]
Tonci Grgin
Hi and thanks for your report. Verified as described by looking into code.
[18 Nov 2008 1: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 17:42]
Todd Farmer
Workaround is to list the final slave twice in pre-5.1.7 versions.
[21 Nov 2008 14: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 14: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.
