repeat_queries passthrough leaks cursors

XMLWordPrintableJSON

    • Type: Engineering Test
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • QO 2023-02-06, QO 2023-02-20
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            David Percy (Inactive)
            Reporter:
            David Percy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: