phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Taylor (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PHOENIX-1403) Race condition can cause ConnectionQueryServicesImpl to be re-initialized
Date Wed, 05 Nov 2014 07:19:33 GMT

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

James Taylor updated PHOENIX-1403:
----------------------------------
    Fix Version/s: 3.2.1
                   4.2.1

> 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, 4.2.1, 3.2.1
>
>         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)

Mime
View raw message