[SERVER-41035] Rollback should kill all user operations before taking RSTL lock in X. Created: 07/May/19 Updated: 29/Oct/23 Resolved: 17/May/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.12 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Suganthi Mani | Assignee: | Judah Schvimer |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||||||||||
| Sprint: | Repl 2019-05-20, Repl 2019-06-03 | ||||||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||||||
| Description |
|
Currently, there is a 3 way deadlock. Assume that we are transitioning from secondary to rollback.
EDIT: Blocked due to conflicting mongoDB locks is not possible as secondary prepared txn yield mongoDB locks. |
| Comments |
| Comment by Judah Schvimer [ 20/May/19 ] |
|
|
| Comment by Judah Schvimer [ 17/May/19 ] |
|
For documentation and drivers: we now kill all user operations on entering rollback before we close connections. We currently do so with the code NotMasterOrSecondary but we plan to change that in |
| Comment by Githook User [ 17/May/19 ] |
|
Author: {'name': 'Judah Schvimer', 'email': 'judah@mongodb.com', 'username': 'judahschvimer'}Message: |