[SERVER-34153] MongoDB shell doesn't create a session implicitly Created: 27/Mar/18  Updated: 23/Apr/18  Resolved: 27/Mar/18

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

Type: Bug Priority: Major - P3
Reporter: Miguel Angel Nieto Assignee: Kelsey Schubert
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-32064 A logical session id should be includ... Closed
Operating System: ALL
Participants:

 Description   

Hello,

MongoDB Drivers, for example Python, creates a session when a command is executed. There is no need to create it explicitly.

MongoDB Shell works different from all the drivers. When commands are executed without a explicit session, the shell won't create one.

MongoDB Shell should follow drivers specification to avoid misunderstandings and mistakes.

https://github.com/mongodb/specifications/blob/master/source/sessions/driver-sessions.rst

Regards.



 Comments   
Comment by Kelsey Schubert [ 27/Mar/18 ]

Duplicate of SERVER-32064.

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