Michael Han created ZOOKEEPER-3416:
--------------------------------------
Summary: Remove redundant ServerCnxnFactoryAccessor
Key: ZOOKEEPER-3416
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3416
Project: ZooKeeper
Issue Type: Improvement
Components: tests
Affects Versions: 3.6.0
Reporter: Michael Han
Assignee: Michael Han
We have two ways to access the private zkServer inside ServerCnxnFactory, and
there is really no need to keep maintaining both. We could remove
ServerCnxnFactoryAccessor when we added the public accessor for
ServerCnxnFactory in ZOOKEEPER-1346, but we did not.
The solution is to consolidate all access of the zkServer through the public
accessor of ServerCnxnFactory. The end result is cleaner code base and less
confusion.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)