Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-10524

Docs for SERVER-28753: Add support for txnNumber and stmtIds to write commands

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.10
    • Affects Version/s: None
    • Component/s: Server
    • Labels:

      Documentation Request Summary:

      This change introduces two new fields supported by the write commands:

      • txnNum - an always-increasing int64_t value, relative to the session under which the write was executed. This value uniquely identifies the write so that when retry is requested the server does not re-execute it if it already happened.
      • stmtIds - this is an array of int32_t values of the same size as the number of entries in the inserts/updates/deletes array of the write, uniquely indicating each write from the batch. Again, this is for retriability purposes.

      Engineering Ticket Description:

      This task is to add support for txnId and stmtId fields to the write commands as per the design specification. It includes the work to read and write both implicit and explicit fields and correctness validation.

            Assignee:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Reporter:
            emily.hall Emily Hall
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              6 years, 23 weeks, 5 days ago