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

Hudson commented on PHOENIX-79:
-------------------------------

FAILURE: Integrated in Apache Phoenix - Branch:4.0 #35 (See 
[https://builds.apache.org/job/Phoenix-4.0/35/])
PHOENIX-79 Change the way QueryServices is initialized to make initialization 
more performant (SamarthJain) (jamestaylor: rev 
31c322c606aa1b80a50f4cd654f5f069b02428f1)
* 
phoenix-core/src/test/java/org/apache/phoenix/end2end/QueryDatabaseMetaDataTest.java
* 
phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
* 
phoenix-core/src/main/java/org/apache/phoenix/jdbc/PhoenixDatabaseMetaData.java
* phoenix-core/src/main/java/org/apache/phoenix/jdbc/PhoenixDriver.java


> Change the way QueryServices is initialized and requested to make it more 
> perfomant.
> ------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-79
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-79
>             Project: Phoenix
>          Issue Type: Improvement
>    Affects Versions: 3.0.0
>            Reporter: Samarth
>            Assignee: Samarth
>         Attachments: dcl_exception_columnsize.diff, patch-79-80-v2.diff
>
>
> PhoenixDriver#getQueryServices() currently has a synchronized for guarding 
> the lazy initialization of queryServices. Changing it to 
> double-checked-locking pattern should make it more perfomant when connections 
> are requested concurrently. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to