-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
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.
- documents
-
SERVER-28753 Add support for txnNumber and stmtIds to write commands
- Closed
- related to
-
DOCS-10444 Docs for SERVER-29852: Store logical session id and transaction number on the OperationContext
- Closed