Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-34153

MongoDB shell doesn't create a session implicitly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • None
    • None
    • None
    • None
    • ALL

    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.

      Attachments

        Issue Links

          Activity

            People

              kelsey.schubert@mongodb.com Kelsey Schubert
              miguel.nieto@mongodb.com Miguel Angel Nieto
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: