Operational Defect Database

BugZero found this defect 117 days ago.

MongoDB | 2554849

The thread for yieldLocksForPreparedTransactions needs to be unkillable

Last update date:

3/14/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

8.0.0-rc0

7.3.0-rc1

Description:

Info

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.

Top User Comments

xgen-internal-githook commented on Thu, 14 Mar 2024 22:26:30 +0000: 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.4test https://github.com/mongodb/mongo/commit/d0704e889e38d4f8bec5827c3537fb0e162a5dea xgen-internal-githook commented on Thu, 25 Jan 2024 00:09:26 +0000: 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 xgen-internal-githook commented on Wed, 24 Jan 2024 18:37:46 +0000: 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

Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Closed

Learn More

Search:

...