You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Gabriel Reid (JIRA)" <ji...@apache.org> on 2014/11/04 13:38:33 UTC
[jira] [Created] (PHOENIX-1403) Race condition can cause
ConnectionQueryServicesImpl to be re-initialized
Gabriel Reid created PHOENIX-1403:
-------------------------------------
Summary: 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
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)