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

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

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.10
    • Component/s: Server
    • Labels:
    • # Replies:
      3
    • Last comment by Customer:
      true
    • Sprint:
      KANBAN BUCKET

      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

          Issue Links

            Activity

              People

              Assignee:
              kay.kim Kay Kim (Inactive)
              Reporter:
              emily.hall Emily Hall
              Participants:
              Last commenter:
              Githook User
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since reply:
                2 years, 47 weeks, 6 days ago
                Date of 1st Reply: