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

Lock manager is not fair in the presence of compatible requests which can be granted immediately

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • 3.0.7, 3.2.0-rc3
    • 3.0.8, 3.2.0-rc4
    • Concurrency
    • None
    • Fully Compatible
    • ALL
    • 0

    Description

      There is code in the lock manager, which attempts to increase system throughput in the case of long-running operations holding intent locks.

      This code has the side effect of starving the 'strong' locks (S and X) when there is high load and an interleave of intents on the granted list, which is what would happen under a normal stream of requests. This has caused a bug where replication step down won't complete within the desired timeout.

      Attachments

        Activity

          People

            kaloian.manassiev@mongodb.com Kaloian Manassiev
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            14 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: