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

Make coordinateCommitTransaction return the decision once the decision has been written with the user's writeConcern

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.7.0
    • None
    • Sharding
    • None
    • Fully Compatible
    • Sharding 2020-05-18, Sharding 2020-06-01

    Description

      After SERVER-37364, the decision is returned once it's majority-committed: the decision promise is emplaced after the TransactionCoordinator waits for the decision to be durable.

      This ticket is to emplace the decision promise as soon as the decision is made. Since coordinateCommitTransaction always sets the Client's last OpTime to the system last OpTime before returning the decision, the Client will automatically wait for the user's writeConcern of an OpTime at or later than the decision's OpTime.

      Attachments

        Activity

          People

            cheahuychou.mao@mongodb.com Cheahuychou Mao
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: