[SERVER-85635] The thread for yieldLocksForPreparedTransactions needs to be unkillable Created: 23/Jan/24  Updated: 25/Jan/24  Resolved: 24/Jan/24

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 8.0.0-rc0, 7.3.0-rc1

Type: Bug Priority: Major - P3
Reporter: Jiawei Yang Assignee: Jiawei Yang
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.3, v7.2
Sprint: Repl 2024-02-05
Participants:
Linked BF Score: 135

 Description   

That thread can hold global lock when checkout session for a prepared transaction and get killed by the repl killOp thread, which will lead to a crash.



 Comments   
Comment by Githook User [ 25/Jan/24 ]

Author:

{'name': 'Jiawei Yang', 'email': 'jiawei.yang@mongodb.com', 'username': 'YoungYang0820'}

Message: SERVER-85635 mark prepared-txns-yield-locks thread unkillable (#18304)

GitOrigin-RevId: d56bf5cbe0087a3940d7e554d91ce280ab2ff42d
Branch: v7.3
https://github.com/mongodb/mongo/commit/d325c40bf1153c65aa0b08b584ee2da8b6e6e5bc

Comment by Githook User [ 24/Jan/24 ]

Author:

{'name': 'Jiawei Yang', 'email': 'jiawei.yang@mongodb.com', 'username': 'YoungYang0820'}

Message: SERVER-85635 mark prepared-txns-yield-locks thread unkillable (#18304)

GitOrigin-RevId: 49b737ea4bbfe48e1b51c031e2892c57ac4323c5
Branch: master
https://github.com/mongodb/mongo/commit/7c4d431db6b81affc7bd783f18d8111d40eff4de

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