-
Type: Investigation
-
Resolution: Duplicate
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Views
-
None
-
Not Needed
Problem Statement/Rationale
IHAC who is using Compass version 1.35.0 on Windows and, is receiving the error message "ERROR: Current topology does not support sessions" while trying to access views created on secondaries only.
The customer has tried even for versions lower than 1.35.0 but has had no success.
This is similar to COMPASS-5304
Please be sure to attach relevant logs with any sensitive data redacted.
The logs can be downloaded from the below link
Steps to Reproduce
The following can be tried to reproduce the issue.
- Launched a three-node replica set in version `4.4.15`.
- Removed one of the secondary nodes from the cluster and made it standalone.
- Created a view on that specific secondary node.
- Added the node back to the replica set.
- Verified that the view exists only on the specific secondary node.
- Connected using the exact settings as observed in your use case to the secondary node using MongoDB Compass `1.35.0`.
- Clicked on the view and was able to verify the results without any errors.
However, following the steps, I tested the same on my machine(Mac) but didn't encounter any error message.
Expected Results
The error message reported by the customer should not be coming. The customer is able to read the views using Studio 3T with the same user and privileges.
Actual Results
ERROR: Current topology does not support sessions
Additional Notes