You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Webb (Commented) (JIRA)" <ji...@apache.org> on 2011/12/30 15:13:30 UTC

[jira] [Commented] (SOLR-2233) DataImportHandler - JdbcDataSource is not thread safe

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

David Webb commented on SOLR-2233:
----------------------------------

I am getting truly poor performance with my multi-threaded DIH Using the JdbcDataSource.  This issue sounds like my problem considering I can only see 1 new active session made on the Oracle Database, even though threads="12".  I am running Solr 3.4, but there is no Fix Version associated with this Jira, so does that mean this patch never got commited?

Any other suggestions for Solr 3.4 DIH Multithreaded?

Thank you.
                
> 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