Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2811

Should not send lsid to a standalone

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.8.0
    • Affects Version/s: None
    • Component/s: Session Management
    • Labels:
      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:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: