[SERVER-40680] RestartCatalog command should take RSTL lock in X mode Created: 16/Apr/19 Updated: 29/Oct/23 Resolved: 22/Apr/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.11 |
| Type: | Bug | 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 | ||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Sprint: | Storage NYC 2019-04-22, Storage NYC 2019-05-06 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Linked BF Score: | 11 | ||||||||||||||||
| Description |
|
RestartCatalog can be interruptible by stepdown after Although in production stepdown can never happen when restartCatalog gets called by rollback because rollback already takes RSTL X lock, some tests that exercise both restartCatalog command and stepdown could have this issue. So we should take RSTL X lock in restartCatalog. |
| Comments |
| Comment by Githook User [ 22/Apr/19 ] |
|
Author: {'email': 'xiangyu.yao@mongodb.com', 'name': 'Xiangyu Yao', 'username': 'xy24'}Message: |