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

Clarify whether to add session ID to endSessions command

    XMLWordPrintableJSON

Details

    • Icon: Spec Change Spec Change
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • Sessions
    • None
    • Needed

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: