[SERVER-38440] Remove unnecessary UninterruptibleLockGuards from sharding code Created: 06/Dec/18 Updated: 29/Oct/23 Resolved: 13/Dec/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.7 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Samyukta Lanka | Assignee: | Samyukta Lanka |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | prepare_durability, prepare_interruptibility, uninterruptibleLockGuardRemoval | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Repl 2018-12-17, Repl 2019-01-14 | ||||||||
| Participants: | |||||||||
| Description |
|
There are four places in src/mongo/db/s/ that we can remove the use of UninterruptibleLockGuard because they are unnecessary and would conflict with prepared transactions based on the locks they take. The first is in migration_source_manager.cpp. The other three are in move_primary_source_manager.cpp here, here and here. |
| Comments |
| Comment by Githook User [ 13/Dec/18 ] |
|
Author: {'username': 'lankas', 'email': 'samy.lanka@mongodb.com', 'name': 'Samy Lanka'}Message: |