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

Creating an unsharded collection can cause dist lock to time out

    XMLWordPrintableJSON

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: