Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-12376

Document that commands which do not require auth are not associated with sessions

    XMLWordPrintableJSON

Details

    • 0.25

    Description

      Description

      Related to SERVER-38432 and DOCS-11255. Here's an excerpt from the Logical Sessions design doc for background:

      Sessions and Pre-Auth Commands
      Certain MongoDB commands, like “ping” and “ismaster”, are processed outside of auth, and are used by drivers before authentication can begin. If a logical session id is passed to any of these commands, it will be ignored. Pre-auth commands cannot be associated with sessions.

      When a driver runs one of these "pre-auth" commands with a session, the server ignores the session argument. We should document this behavior.

      Scope

      Document this for 4.2 and backport to 3.6 (once confirming the behavior is true through all major versions that support sessions)

      Attachments

        Activity

          People

            Unassigned Unassigned
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              1 year, 14 weeks, 2 days ago