[GODRIVER-1722] Add SingleConnectionDeployment that can be used for application operations Created: 17/Aug/20 Updated: 30/Mar/22 |
|
| Status: | Backlog |
| Project: | Go Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Divjot Arora (Inactive) | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Description |
|
The SingleConnectionDeployment type is only useful for heartbeats and handshakes because it does not implement driver.ErrorProcessor. Other operations that want to pin to a single connection (e.g. change streams) have to write a custom Deployment implementation that's basically the same but has one extra method. We should rename SingleConnectionDeployment to something else to indicate it's intended usage and add a similar implementation for actual operations. |