[SERVER-41426] StorageInterface's dropCollection should only take Database IX lock Created: 31/May/19 Updated: 29/Oct/23 Resolved: 06/Jun/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 4.2.0-rc3, 4.3.1 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Xiangyu Yao (Inactive) | Assignee: | Xiangyu Yao (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Backport Requested: |
v4.2
|
||||||||||||||||
| Sprint: | Execution Team 2019-06-03, Execution Team 2019-06-17 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Linked BF Score: | 4 | ||||||||||||||||
| Description |
|
StorageInterface's dropCollection, mainly used by the old two-phase drop, still takes DB X lock. However, after the collection catalog changes, it should only need to take a Database IX lock and a collection X lock. |
| Comments |
| Comment by Githook User [ 02/Jul/19 ] |
|
Author: {'name': 'Xiangyu Yao', 'username': 'xy24', 'email': 'xiangyu.yao@mongodb.com'}Message: (cherry picked from commit 441348f68c71d70723b2abd63488d7d3906f3d8b) |
| Comment by Githook User [ 06/Jun/19 ] |
|
Author: {'name': 'Xiangyu Yao', 'email': 'xiangyu.yao@mongodb.com', 'username': 'xy24'}Message: |