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

Specify priority/votes for rs members in read_pref_cmd.js to ensure stable primary/secondary

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • ALL
    • Sharding 2019-09-23
    • 8

    Description

      read_pref_cmd.js tests read preference and assumes that the same nodes will be primary/secondary throughout the entire test. If there is an unexpected stepdown, a different node could step up. We should ensure that the same node will always stepup by setting the priority and votes for each shard node in this test.

      Attachments

        Activity

          People

            janna.golden@mongodb.com Janna Golden
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: