Thanks @steevej , some follow ups:
- With
secondaryread preference, will Mongo automatically switch node if the previous secondary node gets promoted to primary? - If we create a MongoClient by connecting to a primary node, and start a connection with
secondaryread preference, would mongo reroute the connection to another node in the replset automatically?