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

Fix change_sync_source_in_initial_sync.js

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Repl 2021-09-06, Repl 2021-09-20
    • 50

    Description

      We have a BF where the first initial sync attempt fails due to network error, and we expect that we succeed from first attempt

      we should store the value of the failedInitialSyncAttempts after the first initial sync attempt, and then just check that the counter === failedInitialSyncAttempts + 1 after switching sync sources

      Attachments

        Activity

          People

            m.maher@mongodb.com Moustafa Maher
            m.maher@mongodb.com Moustafa Maher
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: