-
Type: Bug
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.2.27
-
Component/s: None
-
Empty show more show less
If I connect to a mongos with auth enabled and run the usersInfo command, passing in a readPreference option, I get a:
MongoError: "$queryOptions" is not a valid argument to usersInfo
Cluster was started locally with mlaunch on macOS:
mlaunch --init --shards 1 --replicaset --auth
Minimal code example I could find to reproduce this was:
compass_933_smaller_node_driver_example.js
Screenshot of my terminal in case it is useful:
MongoError $queryOptions is not a valid argument to usersInfo.png
- is related to
-
SERVER-29407 BadValue error when passing readPreference option to usersInfo on a mongos only
- Closed
- related to
-
COMPASS-1930 Connect To Secondary "not authorized" (possible regression)
- Closed