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

Migration receiver thread should not acquire X lock on the database

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 3.0.9, 3.2.1
    • Sharding
    • None
    • ALL

    Description

      This is a regression due to a previous change to fix SERVER-21366. The AutoGetCollection class acquires both the DB and collection locks in the same mode (MODE_X), but we shouldn't be taking the database lock in X-mode.

      Attachments

        Activity

          People

            kaloian.manassiev@mongodb.com Kaloian Manassiev
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: