-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Wire Protocol
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?
- is caused by
-
GODRIVER-419 Set the Kind when returning a topology.SelectedServer
- Closed