Should not send lsid to a standalone

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.8.0
    • Affects Version/s: None
    • Component/s: Session Management
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The driver supports explicit and implicit sessions when connected to standalone servers, which goes against the spec, which says:

      Standalone servers do not support sessions.

      A driver can determine whether a replica set or sharded cluster deployment supports sessions by checking whether the logicalSessionTimeoutMinutes property of the TopologyDescription has a value or not. If it has a value the deployment supports sessions.

      The check for whether a server supports sessions should exclude servers of type standalone.

              Assignee:
              Jeffrey Yemin
              Reporter:
              Jeffrey Yemin
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: