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

ASF GitHub Bot commented on CALCITE-2003:
-----------------------------------------

Github user julianhyde commented on the issue:

    https://github.com/apache/calcite-avatica/pull/17
  
    no idea. looks a bit like this: 
https://github.com/travis-ci/travis-ci/issues/8172


> Avoid global synchronization around openConnection in JdbcMeta
> --------------------------------------------------------------
>
>                 Key: CALCITE-2003
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2003
>             Project: Calcite
>          Issue Type: Bug
>          Components: avatica
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>             Fix For: avatica-1.11.0
>
>
> Had a report from a user where opening new connections to Avatica were stuck. 
> Upon investigation, there was a single thread which had grabbed the local on 
> the JdbcMeta instance in {{JdbcMeta#openConnection(ConnectionHandle)}}, but 
> was not returning out of the {{DriverManager.getConnection(...)}} call.
> Using the {{ConcurrentMap}} API over the Guava {{Cache}} API gives us enough 
> flexibility that we can handle this safely without the total synchronization.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to