Details
-
Bug
-
Status: Closed
-
Minor - P4
-
Resolution: Fixed
-
None
-
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