zookeeper-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ZOOKEEPER-3416) Remove redundant ServerCnxnFactoryAccessor
Date Wed, 05 Jun 2019 19:57:00 GMT

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-3416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

ASF GitHub Bot updated ZOOKEEPER-3416:
--------------------------------------
    Labels: Twitter pull-request-available  (was: Twitter)

> 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
>            Priority: Minor
>              Labels: Twitter, pull-request-available
>
> 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)

Mime
View raw message