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

make node 1 unelectable in initial_sync_invalid_views.js (3.4)

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.7
    • Affects Version/s: 3.4.6
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • 0

      On slow machines, it is possible for the primary in the current replica set configuration used in initial_sync_invalid_views.js to step down immediate after increasing the number of nodes in the set from 1 to 2. Since the goal of the test is to test secondary oplog application behavior and not the election protocol, we should make the new secondary unelectable as we are adding it to the existing one-node replica set.

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: