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

BackupCursorService error case double-locks mutex

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.3
    • None
    • Storage
    • None
    • Fully Compatible
    • ALL
    • Storage NYC 2018-08-27
    • 2

    Description

      Opening a backup cursor acquires a mutex to protect some basic state. After opening a cursor, the state is changed. However, the opening process can still fail with uasserts, so a scopeguard is registered to undo the opening operation. But, closing the backup cursor also acquires the state protecting mutex.

      Attachments

        Activity

          People

            daniel.gottlieb@mongodb.com Daniel Gottlieb (Inactive)
            daniel.gottlieb@mongodb.com Daniel Gottlieb (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: