[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:
Backports
Depends
depends on SERVER-41033 set ignore_prepare=true throughout an... Closed
Related
related to SERVER-43216 Invariant internal operations that ac... Closed
is related to SERVER-40700 Deadlock between read prepare conflic... Closed
is related to SERVER-44577 Ensure WiredTiger cursors have starte... Closed
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: SERVER-41034 Invariant if we get a prepare conflict inside runWithoutInterruptionExceptAtGlobalShutdown block

(cherry picked from commit 3d7e1566f455b2ba17ccf661f78eff6fefe5e1ee)
Branch: v4.2
https://github.com/mongodb/mongo/commit/42eb2a542f26756134bd617373aa6ef87828b85a

Comment by Githook User [ 05/Jun/19 ]

Author:

{'name': 'Vesselina Ratcheva', 'email': 'vesselina.ratcheva@10gen.com', 'username': 'vessy-mongodb'}

Message: SERVER-41034 Invariant if we get a prepare conflict inside runWithoutInterruptionExceptAtGlobalShutdown block
Branch: master
https://github.com/mongodb/mongo/commit/3d7e1566f455b2ba17ccf661f78eff6fefe5e1ee

Generated at Thu Feb 08 04:56:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.