Pengfei Yan created ZOOKEEPER-3916: -------------------------------------- Summary: check whether zookeeperServer is null or not before being used Key: ZOOKEEPER-3916 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3916 Project: ZooKeeper Issue Type: Improvement Components: server Reporter: Pengfei Yan
If the zookeeperServer object is null, then the client can't make connections with servers because the Leader Voting stage is working. After checking the Object we can avoid null pointer exception and give the IOException and close connections. -- This message was sent by Atlassian Jira (v8.3.4#803005)