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

Creating an unsharded collection can cause dist lock to time out

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.0-rc1, 4.1.1
    • Affects Version/s: 3.7.3
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • v4.0
    • Sharding 2018-05-21, Sharding 2018-06-04
    • 17

      when enough threads try to do it on the same database at the same time.

      This is because all of them will try to grab the dist lock on the database. The dist lock algorithm doesn't have fair scheduling so it is possible for a single thread to be starved by other threads if there is enough contention on it.

            Assignee:
            janna.golden@mongodb.com Janna Golden
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: