[SERVER-30679] Integrate causalConsistency into mongo shell's SessionOptions Created: 16/Aug/17  Updated: 30/Oct/23  Resolved: 20/Sep/17

Status: Closed
Project: Core Server
Component/s: Sharding, Shell
Affects Version/s: None
Fix Version/s: 3.6.0-rc0

Type: Task Priority: Major - P3
Reporter: Max Hirschhorn Assignee: Max Hirschhorn
Resolution: Fixed Votes: 0
Labels: sharding36-passthrough-testing
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-30080 Basic LogicalSession support in the s... Closed
Documented
is documented by DOCS-10841 Docs for SERVER-30679: Integrate caus... Closed
Related
related to SERVER-31296 Review mongo shell implementation of ... Closed
Backwards Compatibility: Fully Compatible
Sprint: TIG 2017-09-11, TIG 2017-10-02
Participants:

 Description   
  • Add initialClusterTime, initialOperationTime, and causalConsistency to SessionOptions object.
  • Move the injection of the "afterClusterTime" field in the readConcern object from src/mongo/shell/mongo.js to src/mongo/shell/session.js and have it work with both DriverSession and _DummyDriverSession.
  • Expose operationTime and clusterTime via getters on the DriverSession and _DummyDriverSession objects.


 Comments   
Comment by Githook User [ 20/Sep/17 ]

Author:

{'email': 'max.hirschhorn@mongodb.com', 'name': 'Max Hirschhorn', 'username': 'visemet'}

Message: SERVER-30679 Integrate causallyConsistentReads into SessionOptions.
Branch: master
https://github.com/mongodb/mongo/commit/0195f34a7a61c75fd8fbaba6f8dae9671e2dd915

Generated at Thu Feb 08 04:24:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.