- Track transactions open for connections/clients that are marked as being from a load balancer (if we don't already do this)
- When a load balanced connection is closed, abort the ongoing transactions for that connection
- We should log the transaction numbers and session IDs of the aborted transactions at a high log level
The implementation of this should be considered in conjunction with SERVER-58503
- depends on
-
SERVER-58503 Kill open cursors for a connection when a load balanced connection on mongos is closed
- Closed
- related to
-
DRIVERS-1953 Clarify if pinned connections can only be used for a single concurrent transaction when behind load-balancer
- Closed