[SERVER-37017] Make methods on TransactionCoordinatorService asynchronous Created: 06/Sep/18  Updated: 29/Oct/23  Resolved: 27/Sep/18

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

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

Backwards Compatibility: Fully Compatible
Sprint: Sharding 2018-09-24, Sharding 2018-10-08
Participants:

 Description   

The voteCommit, voteAbort, and tryAbort methods should be non-blocking and return immediately. The coordinateCommit command should execute asynchronously and return a Notification or Future to the caller to wait for the commit decision.



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

Author:

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

Message: SERVER-37017 Remove TODOs related to SERVER-37017 and update comments
Branch: master
https://github.com/mongodb/mongo/commit/a9e43e1a8f435ecde4de7f94c6f54c35335c1e4b

Comment by Githook User [ 27/Sep/18 ]

Author:

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

Message: SERVER-37017 Make sendCommit/Abort asynchronous
Branch: master
https://github.com/mongodb/mongo/commit/b6d0c3e32ff463a0e512e8dd6c0937ea089d6ddc

Comment by Matthew Saltz (Inactive) [ 06/Sep/18 ]

Note that this will also require changes to existing jstests which check if voteCommit or voteAbort succeeded. These tests will have to wait for afterClusterTime after this change.

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