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

Parameterize set_read_preference_secondary.js read preference

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • Repl 2022-09-19

    Description

      Currently, that file hard-codes the read-preference to secondary, but it would be very useful to make that configurable so it can accept custom tags. We can make that preference a TestData parameter that defaults to secondary in this file but can be overridden as needed.

      Attachments

        Activity

          People

            vesselina.ratcheva@mongodb.com Vesselina Ratcheva (Inactive)
            vesselina.ratcheva@mongodb.com Vesselina Ratcheva (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: