Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 78A1F9D5D for ; Wed, 28 Mar 2012 18:35:52 +0000 (UTC) Received: (qmail 57118 invoked by uid 500); 28 Mar 2012 18:35:51 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 57053 invoked by uid 500); 28 Mar 2012 18:35:51 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 57044 invoked by uid 99); 28 Mar 2012 18:35:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Mar 2012 18:35:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Mar 2012 18:35:50 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 0BF3734BDC0 for ; Wed, 28 Mar 2012 18:35:30 +0000 (UTC) Date: Wed, 28 Mar 2012 18:35:30 +0000 (UTC) From: "James Dyer (Resolved) (JIRA)" To: dev@lucene.apache.org Message-ID: <672711450.29480.1332959730054.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <918792.29101289494154738.JavaMail.jira@thor> Subject: [jira] [Resolved] (SOLR-2233) DataImportHandler - JdbcDataSource is not thread safe MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-2233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Dyer resolved SOLR-2233. ------------------------------ Resolution: Won't Fix The "threads" feature was removed from DIH in Trunk/4.x (see SOLR-3262). Some "threads" bugs were fixed in version 3.6, the last release in which "threads" is available. (see SOLR-3011). > DataImportHandler - JdbcDataSource is not thread safe > ----------------------------------------------------- > > Key: SOLR-2233 > URL: https://issues.apache.org/jira/browse/SOLR-2233 > Project: Solr > Issue Type: Bug > Components: contrib - DataImportHandler > Affects Versions: 1.4, 1.4.1, 1.5, 3.1, 3.2 > Reporter: Fuad Efendi > Attachments: SOLR-2233-001.patch, SOLR-2233-JdbcDataSource.patch, SOLR-2233.patch, SOLR-2233.patch > > > Whenever Thread A spends more than 10 seconds on a Connection (by retrieving records in a batch), Thread B will close connection. > Related exceptions happen when we use "threads=" attribute for entity; usually exception stack contains message "connection already closed" > It shouldn't happen with some JNDI data source, where Connection.close() simply returns Connection to a pool of available connections, but we might get different errors. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org