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

Make DistLocks hierarchical for mongos commands

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.5.11
    • Fix Version/s: 3.6.0-rc1
    • Component/s: Sharding
    • Labels:

      Description

      Currently, commands such as dropCollection take a lock for the collection it operates on, but not the database it operates on. Hence, commands that take a lock for only the database may be able to operate concurrently with dropCollection, which is not desired.

      Hierarchical distributed locks should be added to all instances that such issues may occur.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: