[SERVER-81116] Prevent deadlock during stepup Created: 15/Sep/23 Updated: 16/Jan/24 |
|
| Status: | Open |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Moustafa Maher | Assignee: | Backlog - Replication Team |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | repl-shortlist | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Replication
|
||||||||
| Sprint: | Repl 2024-01-08 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 3 | ||||||||
| Description |
|
We have multiple services that should be initiated (through onStepUp interface) while the node is stepping up, and because of primary acquire collection locks during reconstructing prepared transactions, any collection acquiring strong locks after that will cause a deadlock. |