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

Ensure that cluster aggregations that fail clean up cursors

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.4
    • None
    • Aggregation Framework
    • None
    • Fully Compatible
    • ALL
    • Query 2018-09-24, Query 2018-10-08
    • 4

    Description

      When setting up a non-passthrough cluster aggregation, mongos establishes cursors on the targeted shards that will be used by the merging portion of the pipeline. We must ensure that, if the aggregation fails during planning, we appropriately clean up cursors and do not leak them.

      As part of this work, we'll also write tests that deliberately force a failure and assert that cursors are cleaned up appropriately.

      Attachments

        Activity

          People

            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            kyle.suarez@mongodb.com Kyle Suarez
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: