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

cpp tests calling nextCloneBatch can get fewer results on slow machines

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.0.0-rc0
    • None
    • Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding 2018-05-07
    • 65

    Description

      This is because the method has a yield mechanic based on elapsed time that can make it return prematurely:

      https://github.com/mongodb/mongo/blob/r3.7.3/src/mongo/db/s/migration_chunk_cloner_source_legacy.cpp#L481

      Attachments

        Activity

          People

            randolph@mongodb.com Randolph Tan
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: