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

document_source_merge_cursors_test is racy

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.7.3
    • Component/s: Aggregation Framework
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Query 2018-03-12
    • Linked BF Score:
      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

            Assignee:
            charlie.swanson Charlie Swanson
            Reporter:
            charlie.swanson Charlie Swanson
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: