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

Set `InMultiDocumentTransaction` flag when recovering committed distributed transactions

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • 155

      When applying the oplog entries of a committed prepared transaction on startup/step-up, the operation context must be flagged as in multi document transaction.

      Not doing so results in this if statement getting evaluated as false with the consequence of acquiring the collection lock in the wrong mode.

            Assignee:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Reporter:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: