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

Retryable transactions should reject multi writes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 6.0.0-rc5, 6.1.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • v6.0
    • Sharding NYC 2022-05-16

    Description

      Retryable transactions introduced by PM-2210 allow reconstructing transaction statement responses by tracking statement ids like for non-transaction retryable writes. Multi writes are not allowed for retryable writes and should be rejected within a retryable transaction if they are sent with an initialized statement id. The uninitialized statement id is used to opt out of history tracking in retryable transactions, so multi writes sent with it should not be rejected. Note that if a multi write in a retryable transaction actually updates multiple documents, it will currently fail this assertion.

      Attachments

        Issue Links

          Activity

            People

              jack.mulrow@mongodb.com Jack Mulrow
              jack.mulrow@mongodb.com Jack Mulrow
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: