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

Ensure fetchedBatches stat is updated before check in collection_clone_resume_after_network_error.js

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.4
    • None
    • Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2020-02-10, Repl 2020-02-24
    • 16

    Description

      Waiting on the after-batch failpoint is not always sufficient as we increment fetchedBatches in a callback that is executed asynchronously. We should make sure that our assertion on that stat always has a chance to read the most up-to-date value.

      Attachments

        Activity

          People

            vesselina.ratcheva@mongodb.com Vesselina Ratcheva (Inactive)
            vesselina.ratcheva@mongodb.com Vesselina Ratcheva (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: