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

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.0.2, 4.1.2, 3.6 Required
    • Replication
    • None
    • Fully Compatible
    • ALL
    • v4.0, v3.6
    • 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

        Issue Links

          Activity

            People

              william.schultz@mongodb.com William Schultz (Inactive)
              william.schultz@mongodb.com William Schultz (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: