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

Call awaitReplication() before returning from syncFrom() in rslib.js

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.9.0, 4.0.24, 4.2.14, 4.4.6
    • None
    • None
    • Fully Compatible
    • v4.4, v4.2, v4.0
    • Repl 2021-03-22
    • 8

    Description

      We should add a call to awaitReplication() at the end of the syncFrom() function to ensure all the nodes are up to date. See linked BF for bug diagnosis that highlighted this issue.

      Attachments

        Activity

          People

            ali.mir@mongodb.com Ali Mir
            ali.mir@mongodb.com Ali Mir
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: