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

Make CleanUpForMigrateIn deterministic

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 4.4.9
    • 4.4.10
    • Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding EMEA 2021-10-04, Sharding EMEA 2021-10-18
    • 58

    Description

      The unit test CleanUpForMigrateIn checks theĀ number of ranges to clean after waiting for the future returned by beginReceive to finish. However, the range is only removed after an asynchronous callback is completed. This creates a race condition in this test between the assertion that there are no ranges to clean and the deletion of the range deletion task from the list.

      The test is not actually using the assertions causing the problem, so the solution is simply to remove them.

      Attachments

        Activity

          People

            allison.easton@mongodb.com Allison Easton
            allison.easton@mongodb.com Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: