Fix change_sync_source_in_initial_sync.js

XMLWordPrintableJSON

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

      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:
            Moustafa Maher
            Reporter:
            Moustafa Maher
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: