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

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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.5.10
    • None
    • Server

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              6 years, 10 weeks, 6 days ago