[SERVER-24316] Extend lock manager unit-testing around lock mode conversion Created: 31/May/16 Updated: 21/Nov/16 Resolved: 31/May/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Concurrency |
| Affects Version/s: | None |
| Fix Version/s: | 3.2.8, 3.3.8 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Kaloian Manassiev | Assignee: | Kaloian Manassiev |
| Resolution: | Done | Votes: | 0 |
| Labels: | code-and-test | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Backport Completed: | |
| Sprint: | Sharding 15 (06/03/16) |
| Participants: |
| Description |
|
Lock manager's unit tests around cancelling a pending conversion request only exercise the 'strong modes' code path and do not test the 'weak modes' IS/IX, which have special logic in order to reduce contention. The unit-tests should be extended. |
| Comments |
| Comment by Githook User [ 15/Jun/16 ] |
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: This change adds a unit-test to ensure that upgrade from 'weak mode' to |
| Comment by Ramon Fernandez Marina [ 15/Jun/16 ] |
|
Backport to v3.2 approved kaloian.manassiev, cherry-pick away! |
| Comment by Githook User [ 31/May/16 ] |
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: This change adds a unit-test to ensure that upgrade from 'weak mode' to |