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

[Server] collMod resource locking is incorrect

      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.

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

              Created:
              Updated:
              Resolved:
              1 year, 3 weeks, 4 days ago