Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-2157

Clarify whether to add session ID to endSessions command

    • Type: Icon: Spec Change Spec Change
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Component/s: Sessions
    • None
    • Needed

      The sessions spec does not mention endSessions in the exceptions section (https://github.com/mongodb/specifications/blob/master/source/sessions/driver-sessions.rst#exceptions-to-sending-the-session-id-to-the-server-on-all-commands) so the assumption is that endSessions should be used in a session. However, the command is used in many drivers to end all open sessions when the client is disconnected and creating an implicit session for it would open up another session on the server, so I think it should be included in the exceptions.

            Assignee:
            Unassigned Unassigned
            Reporter:
            divjot.arora@mongodb.com Divjot Arora (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: