Make initial_sync_aborts_two_phase_index_builds.js resilient to primary stepdowns

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • v5.0, v4.4
    • Execution Team 2021-10-18, Execution Team 2021-11-01, Execution Team 2021-11-15
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      We could introduce a new priority 0 secondary to prevent the primary from stepping down while the first secondary is restarted or we could call getPrimary() in the test before attempting to insert documents to ensure the primary has stepped back up.

            Assignee:
            Pavithra Vetriselvan
            Reporter:
            Pavithra Vetriselvan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: