[SERVER-40081] Move session checkout to before command execution Created: 11/Mar/19  Updated: 29/Oct/23  Resolved: 26/Mar/19

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

Type: Task Priority: Major - P3
Reporter: Siyuan Zhou Assignee: Siyuan Zhou
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-40053 Add an RAII type to change and restor... Closed
is depended on by SERVER-37876 Unblacklist multi_statement_transacti... Backlog
is depended on by SERVER-37886 Remove config server as coordinator c... Closed
is depended on by SERVER-39991 Add transactions workloads to failove... Closed
Related
Backwards Compatibility: Fully Compatible
Sprint: Repl 2019-03-25, Repl 2019-04-08
Participants:
Linked BF Score: 22

 Description   

Waiting for write concern with session still checked out caused deadlocks. As part of SERVER-37179, we push down the transaction start to before command execution. We need to move session checkout too. Thus an operation should have already checked in the session while writing for write concern.



 Comments   
Comment by Githook User [ 26/Mar/19 ]

Author:

{'email': 'siyuan.zhou@mongodb.com', 'name': 'Siyuan Zhou', 'username': 'visualzhou'}

Message: SERVER-40081 Move session checkout to before command execution.
Branch: master
https://github.com/mongodb/mongo/commit/3aecf68d4b9cbdb3a9bde86bde945c733f50efe7

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