[SERVER-37597] voteCommit for an aborted coordinator should send abort to the calling participant Created: 12/Oct/18  Updated: 29/Oct/23  Resolved: 15/Oct/18

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

Type: Task Priority: Major - P3
Reporter: Jack Mulrow Assignee: Matthew Saltz (Inactive)
Resolution: Fixed Votes: 0
Labels: ShardedTxn:DistributedCommit, sharding-wfbf-day, transaction-coordinator-management
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2018-10-22
Participants:
Linked BF Score: 56

 Description   

The transaction coordinator removes itself from the coordinator catalog when it decides to abort, but it does so through a promise, which requires dropping the coordinator mutex. This allows a voteCommit to be processed by a coordinator in the kAborted state, which currently leads to no action. Instead, this should be treated the same as the non-existent coordinator case (see SERVER-37018), which sends abortTransaction to the participant that sent voteCommit.



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

Author:

{'name': 'Matthew Saltz', 'email': 'matthew.saltz@mongodb.com', 'username': 'saltzm'}

Message: SERVER-37597 Make voteCommit for an aborted coordinator send abort to the calling participant
Branch: master
https://github.com/mongodb/mongo/commit/1edcd827fb96c39f7011d88d4b0a0b7e261dc353

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