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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.9.0, 4.0.24, 4.2.14, 4.4.6
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.4, v4.2, v4.0
    • Sprint:
      Repl 2021-03-22
    • Linked BF Score:
      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

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

              Dates

              Created:
              Updated:
              Resolved: