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

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.7.0
    • Component/s: Sharding
    • Labels:
      None

      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

          Issue Links

            Activity

              People

              Assignee:
              cheahuychou.mao Cheahuychou Mao
              Reporter:
              esha.maharishi Esha Maharishi
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: