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

cursor leak on uassert in getMore

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major - P3 Major - P3
    • None
    • 3.1.2
    • Querying
    • None
    • ALL

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            james.wahlin@mongodb.com James Wahlin
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: