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

Set `InMultiDocumentTransaction` flag when recovering committed distributed transactions

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • 155

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: