Make DistLocks hierarchical for mongos commands

XMLWordPrintableJSON

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

      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 (Inactive)
            Reporter:
            Hugh Han (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: