[SERVER-60323] [txnRetryCounter] Make coordinator shard support re-committing aborted prepared transactions Created: 29/Sep/21  Updated: 29/Oct/23  Resolved: 15/Oct/21

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

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

Issue Links:
Backports
Problem/Incident
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.1
Sprint: Sharding 2021-10-04, Sharding 2021-10-18
Participants:
Linked BF Score: 69
Story Points: 3

 Description   

SERVER-58752 introduced the ability to retry an aborted prepared (on a subset of participant shards) transaction by retrying the transaction with a higher txnRetryCounter (internal client only). To support re-committing the transaction, we will need recreate a TransactionCoordinator (i.e. add txnRetryCounter to the TransactionCoordinator classes like we did for TransactionRouter and TransactionParticipant). 



 Comments   
Comment by Githook User [ 15/Oct/21 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-60323 Make coordinator shard support re-committing aborted prepared transactions
Branch: master
https://github.com/mongodb/mongo/commit/bf9d4410aebc125c6ee2a980db9afb1a91951180

Comment by Githook User [ 13/Oct/21 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-60323 Make TransactionCoordinatorCatalog support txnRetryCounter
Branch: master
https://github.com/mongodb/mongo/commit/e4df5df45864c9ab39dfa966d11c9f4cae9eea1e

Comment by Githook User [ 11/Oct/21 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-60323 Make TransactionCoordinator support txnRetryCounter
Branch: master
https://github.com/mongodb/mongo/commit/dccba0661624787d8f398058928b7a29a31a2a86

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