Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-36860

Implement functions for persisting/deleting/reading coordinator commit decisions

    XMLWordPrintableJSON

Details

    • Sharding 2018-10-08, Sharding 2018-10-22, Sharding 2018-11-05

    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.

      Attachments

        Issue Links

          Activity

            People

              matthew.saltz@mongodb.com Matthew Saltz (Inactive)
              matthew.saltz@mongodb.com Matthew Saltz (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: