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

Migration receiver thread should not acquire X lock on the database

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.0.9, 3.2.1
    • Component/s: Sharding
    • Labels:
      None
    • ALL

      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.

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

              Created:
              Updated:
              Resolved: