-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Session Management
-
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.
- related to
-
CDRIVER-3070 Do not include lsid in commands if topology does not support sessions
- Closed