[ 
https://issues.apache.org/jira/browse/PHOENIX-1403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14196911#comment-14196911
 ] 

Hudson commented on PHOENIX-1403:
---------------------------------

SUCCESS: Integrated in Phoenix-3.0-hadoop1 #299 (See 
[https://builds.apache.org/job/Phoenix-3.0-hadoop1/299/])
PHOENIX-1403 Correct synchronization in ConnectionQueryServicesImpl.init 
(greid: rev 712b4e672b76be7b1c525c76b2f7916b196bf97b)
* 
phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java


> Race condition can cause ConnectionQueryServicesImpl to be re-initialized
> -------------------------------------------------------------------------
>
>                 Key: PHOENIX-1403
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1403
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.2, 3.2
>            Reporter: Gabriel Reid
>            Assignee: Gabriel Reid
>             Fix For: 5.0.0, 4.3, 3.3
>
>         Attachments: PHOENIX-1403.patch
>
>
> If there are multiple threads opening connections to the same Phoenix (HBase) 
> instance concurrently, the same ConnectionQueryServicesImpl instance can be 
> initialized multiple times. This can eventually cause some resources to leak, 
> such as ZK connections.
> There is a synchronized block to prevent this, but PHOENIX-966 inadvertently 
> disabled the function of the synchronized block.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to