I passed this lab but I don’t understand !
If I shutdown 2 nodes, the last is a secondary node. if I use the find command without defining a reading preference, it works. But “primary” is the default mod for readPref.
Read preferences aren’t relevant to direct connections to a single
But she also says
However, in order to perform read operations on a direct connection to a secondary member of a replica set, you must set a read preference , such as secondary.
How to understand this behaviour ?
I am sorry in advance if the answer is given in the course, I do not master English.