cpp tests calling nextCloneBatch can get fewer results on slow machines

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.0.0-rc0
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding 2018-05-07
    • 65
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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

            Assignee:
            Randolph Tan
            Reporter:
            Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: