On Tue, Oct 5, 2010 at 10:23 AM, Avinash Lakshman <
avinash.laksh...@gmail.com> wrote:

> So shouldn't all servers in another DC just have one session? So even if I
> have 50 observers in another DC that should be 50 sessions established
> since
> the IP doesn't change correct? Am I missing something? In some ZK clients I
> see the following exception even though they are in the same DC.
This really depends on how you implemented your client. Each time you create
a ZooKeeper object a new session is established. If you have 50 clients each
creating a ZooKeeper object then you have 50 sessions.


Reply via email to