Coordinator should return the decision to the client as soon as the decision is durable

XMLWordPrintableJSON

    • Fully Compatible
    • Sharding 2018-11-05, Sharding 2020-04-20, Sharding 2020-05-04, Sharding 2020-05-18
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, the coordinator waits for all participants to ack the decision before returning the decision to the client.

      Once a participant with a prepared transaction blocks requests with a higher transaction number rather than return PreparedTransactionInProgress (SERVER-38028), the coordinator can return to the client as soon as the commit decision is persisted (with the user's requested writeConcern, including journaling preference).

      Note that if the user requested w:1 writeConcern, the decision may roll back after being reported to the client, but regardless all participants will apply the same decision.

              Assignee:
              Cheahuychou Mao
              Reporter:
              Matthew Saltz (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              14 Start watching this issue

                Created:
                Updated:
                Resolved: