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

Add readPrefMode option to benchRun find/findOne ops

    • Fully Compatible
    • v5.0, v4.4, v4.2, v4.0
    • Query Execution 2021-06-28, Query Execution 2021-07-12
    • 62

      BF-21667 has been caused by PERF-2404. The change has made readCmd: true required for find/findOne ops in benchRun() but benchRun() does not support any DBQuery.Option under read command mode. We can have benchRun() support DBQuery.Option.slaveOk in a way that the option is translated into readPreference when we upconvert find/findOne op into find command inside benchRun() implementation.

            Assignee:
            yoonsoo.kim@mongodb.com Yoon Soo Kim (Inactive)
            Reporter:
            yoonsoo.kim@mongodb.com Yoon Soo Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: