cursor leak on uassert in getMore

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.1.2
    • Component/s: Querying
    • None
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Regarding the src/mongodb/db/query/find.cpp:getMore() function.

      getMore is expected to delete the ClientCursor object obtained when no longer valid. There are places in the getMore() function however when the cursor should be deleted but is not due to early exit via uassert.

      We should look to delete on uassert, in-line with work done for the getMore command.

            Assignee:
            Unassigned
            Reporter:
            James Wahlin
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: