[SERVER-66659] Abort internal transactions for the previous txnNumber when starting a new txnNumber Created: 23/May/22  Updated: 29/Oct/23  Resolved: 09/Jun/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.0-rc10, 6.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Cheahuychou Mao Assignee: Jack Mulrow
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding NYC 2022-05-30, Sharding NYC 2022-06-13
Participants:

 Description   

Currently, the TransactionParticipant does not abort internal transactions for the previous txnNumber (i.e. retryable internal transactions) when starting a new txnNumber like it does for regular transactions. Those dangling in-progress transactions should not lead to any hang but they hold on to some resources so we may want to abort them.



 Comments   
Comment by Githook User [ 09/Jun/22 ]

Author:

{'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}

Message: SERVER-66725 SERVER-66659 Incoming retryable txns abort old txns and abort conflicting txns once

(cherry picked from commit bc385b8dcb5b7a550cefaada9d44bc9ded5164de)
Branch: v6.0
https://github.com/mongodb/mongo/commit/d12805a9e4af786e564ac21add3391aa7aaf8409

Comment by Githook User [ 09/Jun/22 ]

Author:

{'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}

Message: SERVER-66725 SERVER-66659 Incoming retryable txns abort old txns and abort conflicting txns once
Branch: master
https://github.com/mongodb/mongo/commit/bc385b8dcb5b7a550cefaada9d44bc9ded5164de

Generated at Thu Feb 08 06:06:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.