Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
Description
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.
Attachments
Issue Links
- related to
-
CDRIVER-3070 Do not include lsid in commands if topology does not support sessions
-
- Closed
-