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

add more unittests for compatible-first locking policy

    • Fully Compatible
    • ALL
    • v3.4, v3.2
    • Storage 2016-11-21, Storage 2016-12-12

      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

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

              Created:
              Updated:
              Resolved: