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

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 4.5.1, 4.4.0-rc13
    • Fix Version/s: 4.4.1, 4.7.0
    • Component/s: Testing Infrastructure
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.4
    • Sprint:
      Execution Team 2020-07-27
    • Linked BF Score:
      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

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

              Dates

              Created:
              Updated:
              Resolved: