[DOCS-10524] Docs for SERVER-28753: Add support for txnNumber and stmtIds to write commands Created: 13/Jul/17  Updated: 29/Oct/23  Resolved: 16/Oct/17

Status: Closed
Project: Documentation
Component/s: Server
Affects Version/s: None
Fix Version/s: 3.5.10

Type: Task Priority: Major - P3
Reporter: Emily Hall Assignee: Kay Kim (Inactive)
Resolution: Fixed Votes: 0
Labels: Sharding
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-28753 Add support for txnNumber and stmtIds... Closed
Related
related to DOCS-10444 Docs for SERVER-29852: Store logical ... Closed
Participants:
Days since reply: 6 years, 10 weeks, 6 days ago
Epic Link: DOCS: 3.6 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.



 Comments   
Comment by Githook User [ 30/Nov/17 ]

Author:

{'name': 'kay', 'username': 'kay-kim', 'email': 'kay.kim@10gen.com'}

Message: DOCS-10524, DOCS-10444: take 2
Branch: master
https://github.com/mongodb/docs/commit/641103933b980024f84e8d98ee8bb64421153b75

Comment by Githook User [ 30/Nov/17 ]

Author:

{'name': 'kay', 'username': 'kay-kim', 'email': 'kay.kim@10gen.com'}

Message: Revert "DOCS-10524, DOCS-10444: part 1"

This reverts commit eb34f00719bb1fa8df2e38a968f64fc7fbbc633e.
Branch: master
https://github.com/mongodb/docs/commit/7a1d9dee1adb0673f14df135a71e55c858f804d7

Comment by Githook User [ 11/Oct/17 ]

Author:

{'email': 'kay.kim@10gen.com', 'name': 'kay', 'username': 'kay-kim'}

Message: DOCS-10524, DOCS-10444: part 1
Branch: master
https://github.com/mongodb/docs/commit/eb34f00719bb1fa8df2e38a968f64fc7fbbc633e

Generated at Thu Feb 08 08:00:46 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.