You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Pengfei Yan (Jira)" <ji...@apache.org> on 2020/08/24 02:45:00 UTC
[jira] [Created] (ZOOKEEPER-3916) check whether zookeeperServer is
null or not before being used
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)