[GODRIVER-3031] Errors on retryable ops should indicate originating server when possible Created: 31/Oct/23 Updated: 22/Jan/24 |
|
| Status: | Scheduled |
| Project: | Go Driver |
| Component/s: | Retryability |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Spec Change | Priority: | Major - P3 |
| Reporter: | PM Bot | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Quarter: | FY25Q1 | ||||||||||||||||
| Upstream Changes Summary: | DRIVERS-2170: This only affects drivers that include server information (like the server name or address) in exceptions and error messages. Any driver that includes server information in an exception or error message must ensure that the exception or message refers to the server that originated the error. For example, during a retry of a failed read or write, the original server must not simply be carried over to a subsequent error. |
||||||||||||||||
| Documentation Changes Summary: | 1. What would you like to communicate to the user about this feature? |
||||||||||||||||
| Description |
|
This ticket was split from DRIVERS-2170, please see that ticket for a detailed description. |
| Comments |
| Comment by Preston Vasquez [ 12/Jan/24 ] |
|
Error type defined in the mongo package do not include information about the server in the Raw field, which is just a reference to the failing command. |
| Comment by Matt Dale [ 09/Jan/24 ] |
|
A good way to accomplish this is to make two changes:
|