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

Kevin Risden commented on SOLR-14205:
-------------------------------------

Thanks [~vercani] are you planning to open a PR for this? Ping me if you do to 
review otherwise I can take care of this.

> ConnectionImpl.isValid() does not behave as described in Connection javadocs
> ----------------------------------------------------------------------------
>
>                 Key: SOLR-14205
>                 URL: https://issues.apache.org/jira/browse/SOLR-14205
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Parallel SQL
>    Affects Versions: 8.4.1
>            Reporter: Nick Vercammen
>            Priority: Major
>
> The ConnectionImpl.isValid() returns false when you pass 0 as the timeout. 
> According to the javadocs 
> ([https://docs.oracle.com/en/java/javase/11/docs/api/java.sql/java/sql/Connection.html#isValid(int)])
>  a timeout = 0 means no timeout. In the current implementation a timeout = 0 
> means that the connection is always invalid.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to