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

repeat_queries passthrough leaks cursors

    XMLWordPrintableJSON

Details

    • Icon: Engineering Test Engineering Test
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • QO 2023-02-06, QO 2023-02-20

    Description

      When jstests/libs/override_methods/rerun_queries.js runs a command more than once, it ignores all but the last result. Commands like find and aggregate can include a cursor in the response, so we should explicitly close the cursor if we're not returning it to the original caller.

      This came up while fixing SERVER-73024: patch builds were failing with "System failure", we think because the open cursors are using a lot of memory.

      Attachments

        Activity

          People

            david.percy@mongodb.com David Percy
            david.percy@mongodb.com David Percy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: