--
You received this message because you are subscribed to the Google Groups "mongodb-dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/mongodb-dev/-/IzYPyZYhs3YJ.
To post to this group, send email to mongo...@googlegroups.com.
To unsubscribe from this group, send email to mongodb-dev...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mongodb-dev?hl=en.
On any server that isn't the primary, (eg isMaster is false) an extra field is included, "primary", with the address of the replica set primary.
duh..of course I connected to the master to double check the behavior. Makes a lot more sense, thanks.
Karl--
You received this message because you are subscribed to the Google Groups "mongodb-dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/mongodb-dev/-/F_lvcgWDBq8J.
We need to call isMaster for each node to ensure that actual state of
the state of the system, is consistent with the state provided by the
first call to isMaster.