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

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

    • Fully Compatible
    • ALL
    • v4.4
    • Execution Team 2020-06-29
    • 27

      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:initial_sync_aborts_two_phase_index_builds] 2020-06-02T10:12:43.488+0000 d20770| 2020-06-02T10:12:43.488+00:00 I  REPL     21216   [ReplCoord-0] "Member is now in state RS_DOWN","attr":{"hostAndPort":"ip-10-122-72-135:20771","heartbeatMessage":"no response within election timeout period"}
      [js_test:initial_sync_aborts_two_phase_index_builds] 2020-06-02T10:12:43.488+0000 d20770| 2020-06-02T10:12:43.488+00:00 I  REPL     21809   [ReplCoord-0] "Can't see a majority of the set, relinquishing primary"
      [js_test:initial_sync_aborts_two_phase_index_builds] 2020-06-02T10:12:43.488+0000 d20770| 2020-06-02T10:12:43.488+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:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: