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

Samarth Jain updated PHOENIX-1172:
----------------------------------

    Attachment: PHOENIX-1172-3.0-v2.patch

v2 patch for 3.0 branch. It gets rid of the locking on metadata since it is ok 
for a thread to work off a stale copy of metadata when establishing a 
connection or other operations that just do a read from it. Writes to metadata 
are still guarded by a lock. 

Also, the exception handling has been simplified to wrap every exception thrown 
during init into a SQLException (if it isn't already a SQLException)

[~jamestaylor] - The patch is for 3.0 branch. If it looks good, I will generate 
separate patches for 4.0 and master branches.

> Prevent lock contention in ConnectionQueryServicesImpl. Fix exception 
> handling. 
> --------------------------------------------------------------------------------
>
>                 Key: PHOENIX-1172
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1172
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 5.0.0, 3.1, 4.1
>            Reporter: Samarth Jain
>            Assignee: Samarth Jain
>             Fix For: 5.0.0, 3.1, 4.1
>
>         Attachments: PHOENIX-1172-3.0-v2.patch, PHOENIX-1172.patch
>
>




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

Reply via email to