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

add more unittests for compatible-first locking policy

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.13, 3.4.2, 3.5.1
    • Component/s: Concurrency
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v3.4, v3.2
    • Sprint:
      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

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: