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

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible
    • Sharding 2020-05-18, Sharding 2020-06-01

      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.

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

              Created:
              Updated:
              Resolved: