[GODRIVER-1659] Use fsm.compatibilityErr to give better server selection errors Created: 18/Jun/20 Updated: 28/Oct/23 Resolved: 27/Jul/20 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | Error Handling |
| Affects Version/s: | None |
| Fix Version/s: | 1.5.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Isabella Siu (Inactive) | Assignee: | Kriti Ravindran (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
fsm stores a compatibilityErr for if the server has an incompatible version. Currently, server selection doesn't give a useful error in this situation, so it should return the compatibilityErr instead. Also check the spec and see if fsm.compatible can be used to fail fast. |
| Comments |
| Comment by Githook User [ 27/Jul/20 ] |
|
Author: {'name': 'Kriti Ravindran', 'email': 'kriti.ravindran@mongodb.com', 'username': 'KritiRav'}Message: |