-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
CAR Team 2024-01-22, CAR Team 2024-02-05, CAR Team 2024-02-19
During a $lookup pipeline construction we first attempt to build a pipeline using local information. If we fail to do so we assume we'll have to contact a remote shard.
Doing so ends up calling MultiStatementTransactionRequestsSender via CursorEstablisher.
However, in case we're inside a multi-document transaction we aren't releasing the checked out session on the originating shard. As a result, we'd end up deadlocking the operation if the collection exists on the originating shard again as they could end up contacting themselves and waiting for a checked out session.
- depends on
-
SERVER-85160 Design and implement add-shard API entry-point
- Closed
- is depended on by
-
SERVER-85347 Implement txn resource stashing and session yielding
- Closed
- related to
-
SERVER-86458 Add support for switching service role
- Backlog
-
SERVER-85347 Implement txn resource stashing and session yielding
- Closed