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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.7.0, 4.4.11
    • Testing Infrastructure
    • None
    • Fully Compatible
    • ALL
    • v4.4
    • Execution Team 2020-06-29
    • 27

    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: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"
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: