I have a connection URI
mongodb://host.example.com/?readPreference=secondaryPreferred&readPreferenceTags=region:uswest;readPreferenceTags=
Now, if I use .WithReadPreference(ReadPreference.Primary), I understand that it overrides the read preference mentioned in the URI, but does it use the same tag preferences or it just tries to use default server selection algorithm?
If it is default behaviour, how can we make sure we can set readPreferenceTags for different read preferences.
Thanks in advance.