lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristine Jetzke (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-8612) DIH JdbcDataSource - statement not always closed
Date Sun, 31 Jan 2016 17:34:39 GMT

     [ https://issues.apache.org/jira/browse/SOLR-8612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kristine Jetzke updated SOLR-8612:
----------------------------------
    Attachment: SOLR-8612.patch

> 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
>             Fix For: Trunk
>
>         Attachments: 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


Mime
View raw message