[ https://issues.apache.org/jira/browse/SOLR-14205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17022190#comment-17022190 ]
ASF subversion and git services commented on SOLR-14205: -------------------------------------------------------- Commit f34e1de7d85acd04ad11a4502b43c403525d5ad5 in lucene-solr's branch refs/heads/branch_8x from Nick Vercammen [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=f34e1de ] SOLR-14205 Do not fail when given timeout to connectionImpl.isValid() = 0 Closes #1204 Signed-off-by: Kevin Risden <kris...@apache.org> > Do not fail when given timeout to connectionImpl.isValid() = 0 > -------------------------------------------------------------- > > Key: SOLR-14205 > URL: https://issues.apache.org/jira/browse/SOLR-14205 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: Parallel SQL > Affects Versions: 8.4.1 > Reporter: Nick Vercammen > Assignee: Kevin Risden > Priority: Major > Fix For: 8.5 > > Time Spent: 0.5h > Remaining Estimate: 0h > > 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