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

[4.4] initial_sync_aborts_two_phase_index_builds_hide_index.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.14
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2022-03-21
    • 15

      The test's 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. 

       

      {code:java}
      [js_test:initial_sync_aborts_two_phase_index_builds_hide_index] 2022-01-31T23:12:21.531-0500 d20270| 2022-01-31T23:12:21.531-05: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_hide_index] 2022-01-31T23:12:21.531-0500 d20270| 2022-01-31T23:12:21.531-05:00 I  REPL     21475   [ReplCoord-0] "Stepping down from primary in response to heartbeat" 

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: