Drivers implement a discovery process for replicaset members and a way
to keep track of their state (up/down, primar/secondary, etc.). When
failover occurs it adjusts its view of the replicaset accordingly.
> --
> You received this message because you are subscribed to the Google Groups "mongodb-user" group.
> To post to this group, send email to mongod...@googlegroups.com.
> To unsubscribe from this group, send email to mongodb-user...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.
>
>
I'm not sure what you are talking about in particular. It is up to the
driver to deal with connecting to the correct nodes. Perhaps you could
post a new issue with the specific issues you are having, including
the driver and server configuration. Then we can address the actual
problem you are having, and not on this thread.
What extra layer are you talking about? Zookeeper is meant to replace
the (current) server management of the distributed system which
replicasets already provide.
Are asking that mongodb use zookeeper for managing the replicaset
configuration and state? If so, then it would require replacing much
of the code and re-writing all drivers to use zookeeper instad of the
current system.