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

'commit_quorum_does_not_hang_with_initial_sync.js' can fail if the primary can't see a majority of the replica set

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.1, 4.7.0
    • Affects Version/s: 4.5.1, 4.4.0-rc13
    • Component/s: Testing Infrastructure
    • None
    • Fully Compatible
    • ALL
    • v4.4
    • Execution Team 2020-07-27
    • 28

      The tests primary will stepdown if it can't see a majority of the set. This happens when we restart the secondary node in a 2-node replica set. 

       

      [js_test:commit_quorum_does_not_hang_with_initial_sync] 2020-07-03T09:02:43.511+0000 d21520| 2020-07-03T09:02:43.509+00:00 I  REPL     21809   [ReplCoord-0] "Can't see a majority of the set, relinquishing primary"
      [js_test:commit_quorum_does_not_hang_with_initial_sync] 2020-07-03T09:02:43.511+0000 d21520| 2020-07-03T09:02:43.510+00:00 I  REPL     21475   [ReplCoord-0] "Stepping down from primary in response to heartbeat"
      

            Assignee:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Reporter:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: