-
Type: Task
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Sharding
-
Sharding 2018-10-08, Sharding 2018-10-22, Sharding 2018-11-05
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.
- depends on
-
SERVER-36858 Create IDL type for transaction commit decision document
- Closed
- duplicates
-
SERVER-37882 Switch the distributed transaction commit protocol to the RPC protocol
- Closed
- is depended on by
-
SERVER-37165 Implement logic to persist/delete commit document for TransactionCoordinator
- Closed