Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1217

GridFS download streams should kill the cursor when closed

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.2.0-rc0
    • None
    • API
    • None

    Description

      In the implementation of CXX-1130, the idea came up to kill the cursor being used to fetch the chunk when a download stream is closed. It isn't apparent what the most idiomatic way to do this would be; two options would be to either wrap the cursor in a unique pointer and then release it or to implement a method like `cursor::kill` specifically for these types of use cases.

      Attachments

        Activity

          People

            sam.rossi@mongodb.com Samuel Rossi (Inactive)
            sam.rossi@mongodb.com Samuel Rossi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: