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

Use stepUp command instead of priorities as a way to designate primary nodes in tags.js

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6 Required, 4.0.2, 4.1.2
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.0, v3.6
    • Linked BF Score:
      8

      Description

      The tags.js test currently uses priorities as a way to get certain nodes to step up as primary in different points in the test. This makes the initial startup and configuration phase unstable, since it can cause an existing, lower priority primary to step down while another node is syncing from it. We can replace this technique by using replSetStepUp to force nodes to become primary throughout the test, and remove the uneven priorities between nodes.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: