[SERVER-71207] Lock ordering violation between POS mutex lock and instance mutex lock Created: 09/Nov/22 Updated: 29/Jun/23 |
|
| Status: | Open |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Suganthi Mani | Assignee: | Backlog - Service Architecture |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | lowcontext | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Service Arch
|
||||||||
| Operating System: | ALL | ||||||||
| Sprint: | Service Arch 2023-06-12, Service Arch 2023-06-26 | ||||||||
| Participants: | |||||||||
| Description |
|
On stepdown, the stepdown thread holds the RSTL and POS mutex lock and calls the instance interrupt method which in-turn tries to acquire instance mutex lock. On the other hand, the instance state machinery thread can try to acquire POS mutex holding instance mutex lock. This resulted in deadlocks. (See
|
| Comments |
| Comment by Suganthi Mani [ 09/Nov/22 ] |