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

Support stmtIds in the transaction API

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Sharding 2022-03-07

    Description

      The transaction API has a helper method for crud ops that accepts a stmtIds argument meant to simplify sending writes in transactions spawned for retryable writes. The argument is currently ignored, so the API should be updated to actually use it. We should add comments explaining how to use stmtIds in internal transactions and possibly some invariants/asserts to prevent misuse, e.g. forgetting to send stmtIds and having the server infer the same ids for different commands.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: