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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

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

              Created:
              Updated:
              Resolved: