You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/06/06 18:45:21 UTC

[jira] [Commented] (SOLR-8612) DIH JdbcDataSource - statement not always closed

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

ASF subversion and git services commented on SOLR-8612:
-------------------------------------------------------

Commit 24fa92959d11e49d1c838a4496772f72a623b9b5 in lucene-solr's branch refs/heads/master from [~mkhludnev]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=24fa929 ]

SOLR-8612: closing JDBC Statement on exceptions from JdbcDataSource in DataImportHandler aka DIH (Kristine Jetzke via Mikhail Khludnev)


> DIH JdbcDataSource - statement not always closed
> ------------------------------------------------
>
>                 Key: SOLR-8612
>                 URL: https://issues.apache.org/jira/browse/SOLR-8612
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler
>    Affects Versions: 5.4.1
>            Reporter: Kristine Jetzke
>            Assignee: Mikhail Khludnev
>             Fix For: 6.0
>
>         Attachments: SOLR-8612.patch, SOLR-8612.patch, SOLR-8612.patch, SOLR-8612.patch, SOLR-8612.patch
>
>
> There are several cases where the Statement used by JdbcDataSource is not closed, potentially resulting in too many open connections:
> - an exception is throw in the {{ResultSetIterator}} constructor
> - the result set is null in the {{ResultSetIterator}} constructor
> - an exception is thrown during import and the import is aborted (onError flag set to abort)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org