Fork me on GitHub
#onyx
<
2017-07-31
>
lellis16:07:58

Hi all! If i have configure 3 zoo's in my peer-config and one of then goes offline, what happen to this peer connection? Its need all 3 online to succefully connect? Or gave me connecting refuse?

michaeldrogalis17:07:33

@lellis ZooKeeper only needs a majority of nodes online. If Onyx fails to connect for some reason, it’ll bounce it’s connection and retry.

lellis17:07:29

Ok but if i have these config: :zookeeper/address "zoo1.cdg.vpc:2181,zoo2.cdg.vpc:2181,zoo3.cdg.vpc:2181" and zoo3 its offline, my peer will connect or will wait and retry until zoo3 come online again?

michaeldrogalis17:07:23

It should connect if everything is configured correctly.

lucasbradstreet17:07:10

I believe you will need 3 servers to initially be up for the quorum to be established, for it to still work when one of them goes down.