[GODRIVER-1063] Add testing for unacknowledged writes and batching Created: 15/May/19 Updated: 17/Jul/20 Resolved: 17/Jul/20 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | Core API |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Kristofer Brandow (Inactive) | Assignee: | Unassigned |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | Codegen everything |
| Description |
|
The unacknowledged write behavior combined with batching is tricky. The driver.Operation type handles ensuring that only the moreToCome flag is set on the last OP_MSG that is sent. This code is difficult test and likely needs some form of design document or spec update to ensure we are properly handling unacknowledged writes. |