Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-15998

[Server] collMod resource locking is incorrect

    XMLWordPrintableJSON

Details

    Description

      The Resource Locking section for collMod shows that :

      The collMod command obtains an exclusive lock on the parent database of the specified collection for the duration of the operation. All subsequent operations on the database and all its collections must wait until collMod releases the lock.

      Since version 4.2 collMod no longer takes a database MODE_X lock (see SERVER-46865). It now locks on the collection.

      See with Storage execution team for details.

      Attachments

        Activity

          People

            ian.fogelman@mongodb.com Ian Fogelman
            mathis.bessa@mongodb.com Mathis Bessa
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              44 weeks, 5 days ago