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

_decisionDurable flag is not set correctly when continuing two-phase commit after step up

    • Cluster Scalability
    • ALL
    • 5

      When persisting decision we check for _decisionDurable flag, because if we are continuing the commit after step up, there is no need to persist decision again.

      However, we are not setting this flag in continueCommit: we should add _decisionDurable = true  if TransactionCoordinatorDocument has a decision.

      This is not a correction issue, we just waste some time by writing the decision again.

            Assignee:
            brett.nawrocki@mongodb.com Brett Nawrocki
            Reporter:
            ivan.fefer@mongodb.com Ivan Fefer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: