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

drop collections takes collection level lock since 4.2

    XMLWordPrintableJSON

Details

    Description

      Description

      In the document How Granular Are Locks in MongoDB it says:

      Some other operations, such as dropping a collection, still require an exclusive database lock.

      On the same page, section What Administrative Commands Lock a Collection, it says drop/dropCollections takes collection level lock.

      Former is only true before 4.2.

      Regards,
      Yaoxing

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            yaoxing.zhang@mongodb.com Yaoxing Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              3 years, 43 weeks, 6 days ago