[SERVER-86382] Set noCursorTimeout and readPreference for initial sync query when recordIdsReplicated:true Created: 07/Feb/24 Updated: 08/Feb/24 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Vishnu Kaushik | Assignee: | Backlog - Storage Execution Team |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Storage Execution
|
||||||||
| Participants: | |||||||||
| Description |
|
For aggregate commands, there doesn't seem to be a way to set the cursor timeout. And the DBClientCursor / DBClientBase interface doesn't let us set the readPreference easily, unlike the support it has for find. However for initial sync we need these to be set - we want to make sure cursors don't die and we want the read preference to be secondaryPreferred. |