Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-2233

DataImportHandler - JdbcDataSource is not thread safe

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 1.4, 1.4.1, 1.5, 3.1, 3.2
    • None
    • None

    Description

      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.

      Attachments

        1. SOLR-2233-JdbcDataSource.patch
          13 kB
          Fuad Efendi
        2. SOLR-2233.patch
          1 kB
          Frank Wesemann
        3. SOLR-2233.patch
          4 kB
          Fuad Efendi
        4. SOLR-2233-001.patch
          4 kB
          Fuad Efendi

        Issue Links

          Activity

            People

              Unassigned Unassigned
              funtick Fuad Efendi
              Votes:
              3 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: