You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Michi Mutsuzaki (JIRA)" <ji...@apache.org> on 2014/03/13 03:07:42 UTC
[jira] [Created] (ZOOKEEPER-1892) addrvec_next gets called twice
when failing over to the next server
Michi Mutsuzaki created ZOOKEEPER-1892:
------------------------------------------
Summary: addrvec_next gets called twice when failing over to the next server
Key: ZOOKEEPER-1892
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1892
Project: ZooKeeper
Issue Type: Bug
Components: c client
Reporter: Michi Mutsuzaki
zookeeper_interest() already calls zoo_cycle_next_server() when the socket is set to -1, so we shouldn't call addrvec_next in handle_error. This causes the next server to get skipped. Zookeeper_simpleSystem::testFirstServerDown fails unless the client gets connected to the server during the first round because the client keeps skipping the second server after the first round.
--
This message was sent by Atlassian JIRA
(v6.2#6252)