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

Make DistLocks hierarchical for mongos commands

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.0-rc1
    • Affects Version/s: 3.5.11
    • Component/s: Sharding
    • Labels:
    • Fully Compatible
    • Sharding 2017-09-11, Sharding 2017-10-23

      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.

            Assignee:
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Reporter:
            hugh.han Hugh Han
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: