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

document_source_merge_cursors_test is racy

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.7.3
    • Aggregation Framework
    • None
    • Fully Compatible
    • ALL
    • Query 2018-03-12
    • 0

    Description

      The test expects that a getMore will be run on two outstanding cursors before any results are returned, but because there is no sort specified, the AsyncResultsMerger can return a result as soon as one of the getMores has returned.

      The test should be re-written to avoid this race.

      Attachments

        Activity

          People

            charlie.swanson@mongodb.com Charlie Swanson
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: