[DOCS-10741] Docs for SERVER-30686: Integrate retryWrites into mongo shell's SessionOptions Created: 30/Aug/17  Updated: 29/Oct/23  Resolved: 27/Oct/17

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

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

Issue Links:
Documented
documents SERVER-30686 Integrate retryWrites into mongo shel... Closed
Related
related to DOCS-10522 Docs for SERVER-29885: Serialize oper... Closed
related to DOCS-10742 Docs for SERVER-30080: Basic LogicalS... Closed
is related to DOCS-10841 Docs for SERVER-30679: Integrate caus... Closed
Participants:
Days since reply: 6 years, 15 weeks, 5 days ago
Epic Link: DOCS: 3.6 Server

 Description   

Documentation Request Summary:

The mongo shell's API for starting a session and setting different options on it needs to be documented.

https://github.com/mongodb/mongo/blob/49489604c381bd805a4f4193fa656e7d41ba770f/src/mongo/shell/session.js

Engineering Ticket Description:

  • Introduce _DummyDriverSession object that forwards calls to Mongo.prototype.runCommand() with its arguments unmodified. This allows the codepaths in DB and DBCollection to go through the session object regardless of whether sessions are actually being used or not.
  • Add SessionOptions#shouldRetryWrites() and SessionOptions#setRetryWrites() methods.
  • Add retryable_writes_jscore_passthrough_WT task on the following build variants:
    • Enterprise RHEL 6.2
    • Enterprise RHEL 6.2 (inMemory)
    • Windows 2008R2 DEBUG
    • SSL OS X 10.10
    • ASAN Enterprise SSL Ubuntu 16.04 DEBUG
    • UBSAN Enterprise Ubuntu 16.04 DEBUG
    • Enterprise RHEL 6.2 DEBUG Code Coverage


 Comments   
Comment by Githook User [ 27/Oct/17 ]

Author:

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

Message: DOCS-10841, DOCS-10741, DOCS-10522, DOCS-10742, DOCSP-630: sessions and options
Branch: master
https://github.com/mongodb/docs/commit/31b4235dc25e4eecc53ab6003d7b832180404939

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