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

RangeDeleter destructor does not free DeleteJobStats objects

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • ALL

    Description

      The RangeDeleter destructor walks several internal data structures and deletes all of the objects owned by those data structures.

      However, the _statsHistory std::deque is not walked, so any DeleteJobStats objects held within the deque are leaked.

      For normal operations, the RangeDeleter is an immortal singleton, so the impact of this bug is slight, but when a RangeDeleter is used in unit tests, the leak is apparent.

      Attachments

        Activity

          People

            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: