[COMPASS-7384] Customer getting error message "ERROR: Current topology does not support sessions" when accessing views from Compass which are created only on specific secondary Created: 30/Oct/23  Updated: 15/Nov/23  Resolved: 15/Nov/23

Status: Closed
Project: Compass
Component/s: Views
Affects Version/s: None
Fix Version/s: No version

Type: Investigation Priority: Major - P3
Reporter: Janpreet Singh Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Documentation Changes: Not Needed

 Description   

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

https://amphora.corp.mongodb.com/public/upload/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJmb2xkZXJfaWQiOiIyMzMwNjU1NjQzMDkiLCJleHAiOjE3MDEyODYwMjl9.TJM5cYjWOV_qGjacKIRwt4xfjgK2FuumbB8WOAg3I7I

Steps to Reproduce

The following can be tried to reproduce the issue.

  1. Launched a three-node replica set in version `4.4.15`.
  2. Removed one of the secondary nodes from the cluster and made it standalone.
  3. Created a view on that specific secondary node.
  4. Added the node back to the replica set.
  5. Verified that the view exists only on the specific secondary node.
  6. Connected using the exact settings as observed in your use case to the secondary node using MongoDB Compass `1.35.0`.
  7. 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

 


Generated at Wed Feb 07 22:46:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.