[GODRIVER-2828] SDAM error handling doesn't ignore errors based on topology version correctly Created: 03/May/23 Updated: 28/Oct/23 Resolved: 05/Jun/23 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | SDAM |
| Affects Version/s: | 1.10.3, 1.11.4 |
| Fix Version/s: | 1.12.0, 1.11.7 |
| Type: | Bug | Priority: | Unknown |
| Reporter: | Matt Dale | Assignee: | Matt Dale |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Documentation Changes: | Not Needed | ||||||||||||||||
| Documentation Changes Summary: | 1. What would you like to communicate to the user about this feature? |
||||||||||||||||
| Description |
|
While processing errors, the SDAM error handling function ProcessError attempts to compare the topology version on the error to the current topology version known by the Go driver. However, the Go driver uses the connection's topology version (see here), which is never updated after the connection is created. The Go driver should ignore errors where the error topology version is the same or older than the current driver topology version. However, it will instead act on those errors as if the error topology version were newer. |
| Comments |
| Comment by Githook User [ 05/Jun/23 ] |
|
Author: {'name': 'Matt Dale', 'email': '9760375+matthewdale@users.noreply.github.com', 'username': 'matthewdale'}Message: Co-authored-by: Preston Vasquez <prestonvasquez@icloud.com> |
| Comment by Githook User [ 05/Jun/23 ] |
|
Author: {'name': 'Matt Dale', 'email': '9760375+matthewdale@users.noreply.github.com', 'username': 'matthewdale'}Message: Co-authored-by: Preston Vasquez <prestonvasquez@icloud.com> |
| Comment by Matt Dale [ 16/May/23 ] |