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

Fix change_sync_source_in_initial_sync.js

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Repl 2021-09-06, Repl 2021-09-20
    • 50

      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

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

              Created:
              Updated:
              Resolved: