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

Release lock before releasing completion guard when executors are shutting down.

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.3
    • None
    • Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2019-12-16
    • 0

    Description

      We must make sure we do not hold the InitialSyncer mutex when we free the completion guard in the allDatabaseClonerFuture. Normally this is assured because we've scheduled another callback, which cannot fulfill the completion guard without first taking the lock (which assures that our release of the completion guard will not free it). On shutdown that isn't so.

      Attachments

        Activity

          People

            matthew.russotto@mongodb.com Matthew Russotto
            matthew.russotto@mongodb.com Matthew Russotto
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: