[SERVER-58504] Abort transactions for a connection when a load balanced connection on mongos is closed Created: 13/Jul/21  Updated: 29/Oct/23  Resolved: 17/Nov/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.2.0, 5.0.7

Type: Task Priority: Major - P3
Reporter: Matthew Saltz (Inactive) Assignee: George Wangensteen
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
depends on SERVER-58503 Kill open cursors for a connection wh... Closed
Related
related to DRIVERS-1953 Clarify if pinned connections can onl... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0
Sprint: Service Arch 2021-10-04, Service Arch 2021-11-01, Service Arch 2021-11-15, Service Arch 2021-11-22
Participants:
Story Points: 5

 Description   
  • 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



 Comments   
Comment by Githook User [ 21/Mar/22 ]

Author:

{'name': 'George Wangensteen', 'email': 'george.wangensteen@mongodb.com', 'username': 'gewa24'}

Message: SERVER-58504 Abort in-progress transactions when a load-balanced client disconnects from mongos

(cherry picked from commit 74628ed4e314dfe0fd69d3fbae1411981a869f6b)
Branch: v5.0
https://github.com/mongodb/mongo/commit/1eca071330ff75bcba8c4d45c7192ef9cb220ee8

Comment by Githook User [ 17/Mar/22 ]

Author:

{'name': 'George Wangensteen', 'email': 'george.wangensteen@mongodb.com', 'username': 'gewa24'}

Message: SERVER-58504 Abort in-progress transactions when a load-balanced client disconnects from mongos

(cherry picked from commit 74628ed4e314dfe0fd69d3fbae1411981a869f6b)
Branch: LB
https://github.com/mongodb/mongo/commit/13c7075e272d893da74e793d85bdef873cb05035

Comment by Githook User [ 17/Nov/21 ]

Author:

{'name': 'George Wangensteen', 'email': 'george.wangensteen@mongodb.com', 'username': 'gewa24'}

Message: SERVER-58504 Abort in-progress transactions when a load-balanced client disconnects from mongos
Branch: master
https://github.com/mongodb/mongo/commit/74628ed4e314dfe0fd69d3fbae1411981a869f6b

Generated at Thu Feb 08 05:44:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.