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

add more unittests for compatible-first locking policy

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • 3.2.13, 3.4.2, 3.5.1
    • Concurrency
    • Fully Compatible
    • ALL
    • v3.4, v3.2
    • Storage 2016-11-21, Storage 2016-12-12

    Description

      When MongoDB switches to compatible-first locking policy, it needs to apply this policy to new incoming requests as well as currently pending ones. We should have unit tests that test the following scenarios:

      • Policy changes as result of pending MODE_S request being granted
      • Policy changes as result of granted MODE_X request being downgraded
      • Unblock pending MODE_IS request queued behind MODE_IX
      • Unblock pending MODE_IS request queued behind MODE_X

      Attachments

        Activity

          People

            geert.bosch@mongodb.com Geert Bosch
            geert.bosch@mongodb.com Geert Bosch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: