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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 4.5.1, 4.4.0-rc13
    • 4.4.1, 4.7.0
    • Testing Infrastructure
    • None
    • Fully Compatible
    • ALL
    • v4.4
    • Execution Team 2020-07-27
    • 28

    Description

      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"
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: