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

CollectionCloner should call _finishCallback at most once

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.2, 3.5.2
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Completed:
    • Backport Requested:
      v3.4
    • Sprint:
      Repl 2017-01-23
    • Linked BF Score:
      0

      Description

      Once CollectionCloner starts fetching documents from the remote server, there are two parallel threads of execution within the CollectionCloner that can lead to _finishCallback() being invoked. We should ensure that _finishCallback() is called with the first completion/failure status AFTER both threads of execution have been joined.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: