[SERVER-36860] Implement functions for persisting/deleting/reading coordinator commit decisions Created: 24/Aug/18  Updated: 01/Nov/18  Resolved: 01/Nov/18

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

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

Issue Links:
Depends
depends on SERVER-36858 Create IDL type for transaction commi... Closed
is depended on by SERVER-37165 Implement logic to persist/delete com... Closed
Duplicate
duplicates SERVER-37882 Switch the distributed transaction co... Closed
Sprint: Sharding 2018-10-08, Sharding 2018-10-22, Sharding 2018-11-05
Participants:

 Description   

We need to persist commit decisions to config.transactionCommitDecisions as specified in the design document for transactions. For this, we should implement the following functions:

  • persistDecision: Must atomically choose the commit timestamp and write the commit decision to disk.
  • readAllDecisions: Returns all commit decisions as a vector in memory. For use in recovery.
  • deleteDecision: Removes a decision from the collection.

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