Uploaded image for project: 'Compass '
  1. Compass
  2. 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

    • Type: Icon: Investigation Investigation
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • 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

      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

       

            Assignee:
            Unassigned Unassigned
            Reporter:
            janpreet.singh@mongodb.com Janpreet Singh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: