MongoDB shell doesn't create a session implicitly

XMLWordPrintableJSON

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

      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
              Reporter:
              Miguel Ángel Nieto
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: