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

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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0, 4.0.24, 4.2.14, 4.4.6
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v4.4, v4.2, v4.0
    • Repl 2021-03-22
    • 8

      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.

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

              Created:
              Updated:
              Resolved: