BugZero found this defect 34 days ago.
Data sources
All data on this page is proprietary to BugZero® or gathered from public sources
4/15/2024
MongoDB Server
No affected releases provided.
No fixed releases provided.
The server can be deadlocked in TransactionRouter running a command against itself without first yielding the session. This particular code path runs on a retried commit with a single write node target. This code usually runs in mongoS, where that command is never directed to itself, but to a shard. When it runs on an embedded router, or maybe even on a shard using the internal router capabilities, the target could be the same process, resulting in deadlock. The fix would be to yield the session before issuing the command.