[COMPASS-3264] Shows "Unknown" instead of "REPLICA SET" at the top left corner for single-node replica sets Created: 16/Nov/18  Updated: 29/Oct/23  Resolved: 02/Mar/20

Status: Closed
Project: Compass
Component/s: Connectivity
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: Lungang Fang Assignee: Lucas Hrabovsky (Inactive)
Resolution: Fixed Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screenshot 2020-03-02 11.17.53.png     PNG File connect.png     PNG File image002.png     PNG File warning.png    
Sprint: Iteration Xerus

 Description   

With version 1.16.0 (and previous versions), when connected to a single-node replica set, Compass shows a red question mark and "Unknown" at the top left corner:

note this only happens when I specify replica set name in the connection modal.



 Comments   
Comment by Emmanuel Cote [ 03/Mar/20 ]

You guys are unbelievably on the ball! I never saw such good communication with the client base.

Thanks for the info!

Emmanuel Côté

From: Lucas Hrabovsky (Jira) <jira@mongodb.org>
Sent: March 2, 2020 11:24 AM
To: Emmanuel Cote <emmanuel.cote@desjardins.com>
Subject: [MongoDB-JIRA] (COMPASS-3264) Shows "Unknown" instead of "REPLICA SET" at the top left corner for single-node replica sets

Sécurité – Ce courriel provient d'un expéditeur externe. Merci d'être vigilant, particulièrement avec les liens et pièces jointes, et de ne jamais donner des informations personnelles.

Warning – This email is from outside Desjardins. Don’t click any links or attachments unless you trust the source. Never share personal information.

https://jira.mongodb.org/s/en_USp8swtz-1988229788/6109/25/_/jira-logo-scaled.png
[cid:image001.png@01D5F133.DFD71AA0]
Lucas Hrabovsky<https://jira.mongodb.org/secure/ViewProfile.jspa?name=lucas.hrabovsky> updated [Bug] COMPASS-3264<https://jira.mongodb.org/browse/COMPASS-3264>

It is indeed fixed. Repro:

npm i -g mongodb-runner;

MONGODB_TOPOLOGY=replicaset \

MONGODB_SECONDARIES=0 \

MONGODB_PRIMARIES=1 \

MONGODB_VERSION=stable \

mongodb-runner start --name=singlenodereplset;

And then connecting in Compass to mongodb://localhost:27017/?replicaSet=singlenodereplset

https://jira.mongodb.org/secure/thumbnail/249661/_thumb_249661.png<https://jira.mongodb.org/secure/attachment/249661/249661_Screenshot+2020-03-02+11.17.53.png>
Compass <https://jira.mongodb.org/browse/COMPASS> / [Bug] <https://jira.mongodb.org/browse/COMPASS-3264> COMPASS-3264<https://jira.mongodb.org/browse/COMPASS-3264>
Shows "Unknown" instead of "REPLICA SET" at the top left corner for single-node replica sets<https://jira.mongodb.org/browse/COMPASS-3264>
Change By:
Lucas Hrabovsky<https://jira.mongodb.org/secure/ViewProfile.jspa?name=lucas.hrabovsky>
Status:
Ready for Work Closed
Resolution:
Fixed
[Add Comment]<https://jira.mongodb.org/browse/COMPASS-3264#add-comment>
Add Comment<https://jira.mongodb.org/browse/COMPASS-3264#add-comment>

This message was sent from MongoDB's issue tracking system. To respond to this ticket, please login to jira.mongodb.org<https://jira.mongodb.org> using your JIRA, MongoDB Cloud Manager, or MongoDB Atlas credentials.

Comment by Lucas Hrabovsky (Inactive) [ 02/Mar/20 ]

It is indeed fixed. Repro:

npm i -g mongodb-runner;
MONGODB_TOPOLOGY=replicaset \
MONGODB_SECONDARIES=0 \
MONGODB_PRIMARIES=1 \
MONGODB_VERSION=stable \
mongodb-runner start --name=singlenodereplset;

And then connecting in Compass to mongodb://localhost:27017/?replicaSet=singlenodereplset

Comment by Lucas Hrabovsky (Inactive) [ 13/Nov/19 ]

COMPASS-3943 will also resolve some or all of these issues. Assigning to myself to retest once the 1.20.0-beta.9 release is out.

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