[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:
Related
is related to SERVER-86138 Logical initial sync should preserve ... In Progress
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.


Generated at Thu Feb 08 07:00:08 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.