[GODRIVER-804] mongo.newClient should apply clientOpt.TopologyOptions last, not first Created: 01/Feb/19 Updated: 27/Oct/23 Resolved: 04/Feb/19 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | Options & Configuration |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Kristofer Brandow (Inactive) | Assignee: | Unassigned |
| Resolution: | Gone away | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Currently, in mongo.newClient the user defined topology options are set first, which means options set by the configuration string, like Handshaker will be overwritten. To fix this, we should prepend the two options that are specified instead of appending them. |
| Comments |
| Comment by Ian Whalen (Inactive) [ 04/Feb/19 ] |
|
Solving this problem in |