× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
rkshakya reported 2013-07-05T09:59:49Z  · last modified 2013-07-18T07:57:59Z

db.logout() from ADS mongoshell fails on secondary only replica set


Priority Minor
Complexity Unknown
Component MongoShell
Version 14.0

Noted on ADS 14-beta-55.

Execution of db.logout() command from ADS mongoshell (connected to secondary only replica set) fails with message 'can't find a master' (Pls refer to attached screenshot db_logout.png) whereas same command executed on real mongoshell executes fine with message  { "ok" : 1 } (Pls refer to screenshot dblogout_ok.png).

Steps to reproduce issue:

0) Create a user on admin DB and assign some roles to him (It's immaterial which roles are given for this issue.)

1) With ADS connected to secondary only replica set (i.e. using slaveOK = true in Drivers tab), initiate the ADS mongoshell and authenticate against admin database as user created on step 0 using db.auth(username, password) command.

2) Now try to log out the user using db.logout() command.

Expected behavior:

a) The user should have been logged out successfully (like it does if we try the above steps on real mongo shell).

Actual behavior:

a) ADS mongoshell displays 'can't find a master' error and does not log out the session.

2 attachments

Issue #9521

Closed
Fixed
Resolved 2013-07-09T17:45:12Z
 
 
Completion
No due date
Fixed Build beta-61
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017