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

DIH JdbcDataSource - statement not always closed

    XMLWordPrintableJSON

Details

    Description

      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)

      Attachments

        1. SOLR-8612.patch
          17 kB
          Mikhail Khludnev
        2. SOLR-8612.patch
          17 kB
          Kristine Jetzke
        3. SOLR-8612.patch
          16 kB
          Kristine Jetzke
        4. SOLR-8612.patch
          16 kB
          Kristine Jetzke
        5. SOLR-8612.patch
          11 kB
          Kristine Jetzke

        Issue Links

          Activity

            People

              mkhl Mikhail Khludnev
              tinexw Kristine Jetzke
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: