[DOCS-10444] Docs for SERVER-29852: Store logical session id and transaction number on the OperationContext Created: 27/Jun/17  Updated: 29/Oct/23  Resolved: 20/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, docs-sessions
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-29852 Store logical session id and transact... Closed
Related
is related to DOCS-10524 Docs for SERVER-28753: Add support fo... Closed
Participants:
Days since reply: 6 years, 10 weeks, 6 days ago
Epic Link: DOCS: 3.6 Server

 Description   

Documentation Request Summary:

With this change, all commands on the server now support two new parameters:

  • lsid - Logical session id under which the command is executing
  • txnNumber - The number of the transaction under the logical session as part of which the command is executing. The transaction number must be a non-negative 'long' value, which is incremented for each subsequent command.

Engineering Ticket Description:

The lsid and txnNumber fields will become legitimate top-level values for all commands. As such, there should be code just after command parsing, but before authentication (so the sessionId is available to the auth system), which extracts these fields and sets them on the OperationContext.



 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:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.