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

document_source_merge_cursors_test is racy

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.3
    • Affects Version/s: None
    • Component/s: Aggregation Framework
    • None
    • Fully Compatible
    • ALL
    • Query 2018-03-12
    • 0

      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.

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

              Created:
              Updated:
              Resolved: