[SERVER-31727] mongo shell helper cursor.readConcern() only takes the level and not afterClusterTime Created: 26/Oct/17  Updated: 27/Oct/23  Resolved: 03/Nov/17

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Kay Kim (Inactive) Assignee: DO NOT USE - Backlog - Platform Team
Resolution: Works as Designed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-27771 Add readConcern::readAfterClusterTime Closed
Backwards Compatibility: Fully Compatible
Participants:

 Description   

Should the 3.6 mongo shell helper be updated to take the afterClusterTime as well?

MongoDB Enterprise > db.foo.find().readConcern
function (level) {
    var readConcernObj = {level: level};
 
    return this._addSpecial("readConcern", readConcernObj);
}



 Comments   
Comment by Misha Tyulenev [ 26/Oct/17 ]

It may not be needed as the session injects the afterClusterTime and its not intended to be explicitly controlled by users.

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