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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.1
    • Component/s: Sharding
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Sharding 2019-09-23
    • Linked BF Score:
      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

            Assignee:
            janna.golden Janna Golden
            Reporter:
            janna.golden Janna Golden
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: