[SERVER-37991] Release ReplicationStateTransitionLock on prepare and reacquire it on commit and abort Created: 07/Nov/18  Updated: 29/Oct/23  Resolved: 02/Jan/19

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.1.7

Type: Task Priority: Major - P3
Reporter: Judah Schvimer Assignee: Judah Schvimer
Resolution: Fixed Votes: 0
Labels: prepare_durability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-38190 killOp while committing a prepared tr... Closed
is depended on by SERVER-38161 Test that prepared transactions can s... Closed
is depended on by SERVER-37381 Allow prepared transactions to surviv... Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2018-11-19, Repl 2018-12-03, Repl 2018-12-17, Repl 2019-01-14
Participants:

 Comments   
Comment by Githook User [ 02/Jan/19 ]

Author:

{'username': 'judahschvimer', 'email': 'judah@mongodb.com', 'name': 'Judah Schvimer'}

Message: SERVER-37991 Release ReplicationStateTransitionLock on prepare and reacquire it on commit and abort
Branch: master
https://github.com/mongodb/mongo/commit/433cd9954456c66f94cbdff3a81c0cdaf71b0c2e

Comment by Judah Schvimer [ 08/Nov/18 ]

When reacquiring the RSTL lock on commit and abort we should double check that "canAcceptNonLocalWrites" is still true.

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