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

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

Github user joshelser commented on the issue:

    https://github.com/apache/calcite-avatica/pull/17
  
    @julianhyde might you know why Travis is killing the maven build after just 
a couple of minutes? Maybe I'm missing some more configuration?
    
    https://travis-ci.org/apache/calcite-avatica/builds/284317333


> 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