[SERVER-81051] Prevent lock upgrade when aborting index build on step up Created: 13/Sep/23 Updated: 29/Oct/23 Resolved: 19/Oct/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.2.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Gregory Noma | Assignee: | Gregory Noma |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Storage Execution EMEA
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Execution Team 2023-10-30 | ||||||||
| Participants: | |||||||||
| Description |
|
On step up, for each index build we take IX locks and then retry skipped records. If any key generation errors are encountered, we abort the index build. As a part of the abort process, we take an X lock on the collection which is a lock upgrade. |
| Comments |
| Comment by Githook User [ 19/Oct/23 ] |
|
Author: {'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}Message: |