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

Retryable transactions should reject multi writes

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.0-rc5, 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v6.0
    • Sharding NYC 2022-05-16

      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.

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

              Created:
              Updated:
              Resolved: