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

MongoDB shell doesn't create a session implicitly

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • ALL

      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.

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

              Created:
              Updated:
              Resolved: