Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
Description
I create a new client with ConnString, set Connect: connstring.SingleConnect and ReadPreference: "secondaryPreferred". The direct connection is working but all queries get the error "(NotMasterNoSlaveOk) not master and slaveOk=false".
command.Encode should set the slaveOk flag. What's missing to propagate the SingleConnect and secondaryPreferred preference to this point?
Attachments
Issue Links
- is caused by
-
GODRIVER-419 Set the Kind when returning a topology.SelectedServer
-
- Closed
-