Support stmtIds in the transaction API

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Sharding 2022-03-07
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Jack Mulrow
            Reporter:
            Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: