Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-86382

Set noCursorTimeout and readPreference for initial sync query when recordIdsReplicated:true

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Storage Execution

      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.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            vishnu.kaushik@mongodb.com Vishnu Kaushik
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: