I setup a v3.2 mongos with 3 shards and 3 replica for each shard.
But from shell, no matter I set readpref to 'secondary' or 'secondarypreferred', my query always go to primary.
I haven't tried other api like java, etc.
By the way, when I miss-spell the mode, it doesn't tell me an error.
- related to
-
SERVER-23427 Add test to ensure that read-only operations against the config db continue to work if the config server primary is unreachable from mongos
- Closed