You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/02/01 05:33:00 UTC
[jira] [Updated] (ZOOKEEPER-2842) optimize the finish() of
Send/RecvWorker in QuorumCnxManager and remove testInitiateConnection() and
formates some codes
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated ZOOKEEPER-2842:
--------------------------------------
Labels: pull-request-available (was: )
> optimize the finish() of Send/RecvWorker in QuorumCnxManager and remove testInitiateConnection() and formates some codes
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: ZOOKEEPER-2842
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2842
> Project: ZooKeeper
> Issue Type: Improvement
> Components: quorum
> Reporter: maoling
> Priority: Trivial
> Labels: pull-request-available
>
> 1.the finish() of Send/RecvWorker in QuorumCnxManager changes to double-checked lock style [https://en.wikipedia.org/wiki/Double-checked_locking]
> ,a trivial code changes implement a smaller granularity lock to have a better perfermance in too fierce multithread situation.
> 2.testInitiateConnection() is redundant test function which is only used in TestCase,so I refactor it.
> 3.some codes don't abide to Java Programme Specification ,so I lift a finger to format them
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)