[CDRIVER-3295] Refactor _mongoc_cursor_run_command to use client_command helpers Created: 09/Aug/19 Updated: 07/Mar/23 |
|
| Status: | Backlog |
| Project: | C Driver |
| Component/s: | libmongoc |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Kevin Albertson | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Consider refactoring _mongoc_cursor_run_command to use mongoc_client_command_with_opts/mongoc_client_read_command_with_opts instead of the lower level mongoc_cluster_run_command_monitored. This could deduplicate logic for applying options and retryable reads logic. |