[CDRIVER-2393] Fail if any SRV record does not match root of service name Created: 20/Nov/17 Updated: 28/Oct/23 Resolved: 24/Nov/17 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | libmongoc |
| Affects Version/s: | 1.9.0 |
| Fix Version/s: | 1.9.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | A. Jesse Jiryu Davis | Assignee: | A. Jesse Jiryu Davis |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
In 1.9.0 we ignore hostnames retrieved from SRV records if the hostnames do not share the service name's root. We just log a warning and omit the hostnames from the initial seedlist. In 1.10, be more strict: if any retrieved hostname does not share the service name's root, the entire topology is invalid, even if there are other hostnames that do match. |
| Comments |
| Comment by A. Jesse Jiryu Davis [ 24/Nov/17 ] |
|
Done in |