[SERVER-41034] Invariant if we get a prepare conflict inside runWithoutInterruptionExceptAtGlobalShutdown block. Created: 07/May/19 Updated: 29/Oct/23 Resolved: 05/Jun/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 4.2.0-rc3, 4.3.1 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Suganthi Mani | Assignee: | Vesselina Ratcheva (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||
| Backport Requested: |
v4.2
|
||||||||||||||||||||||||||||
| Sprint: | Repl 2019-06-03, Repl 2019-06-17 | ||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||
| Description |
|
Add an invariant over here such that we prevent getting prepare conflict in a runWithoutInterruptionExceptAtGlobalShutdown block. For this ticket, we should also add a function in OperationContext class which should allow us to read _ignoreInterrupts.
|
| Comments |
| Comment by Githook User [ 03/Jul/19 ] |
|
Author: {'name': 'Vesselina Ratcheva', 'email': 'vesselina.ratcheva@10gen.com', 'username': 'vessy-mongodb'}Message: (cherry picked from commit 3d7e1566f455b2ba17ccf661f78eff6fefe5e1ee) |
| Comment by Githook User [ 05/Jun/19 ] |
|
Author: {'name': 'Vesselina Ratcheva', 'email': 'vesselina.ratcheva@10gen.com', 'username': 'vessy-mongodb'}Message: |