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

Implementation of StorageEngineLockFile on posix systems leaks file descriptors

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.1
    • None
    • Storage
    • None
    • Fully Compatible
    • ALL

    Description

      The destructor of StorageEngineLockFile on posix systems doesn't close the lock file's file handle, leaking it. We don't normally notice, because we usually only release the handle at shutdown, but it can be noticed in unit tests that start up and shut down the storage engine repeatedly.

      Attachments

        Activity

          People

            schwerin@mongodb.com Andy Schwerin
            schwerin@mongodb.com Andy Schwerin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: