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

DIH JdbcDataSource - statement not always closed

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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
          11 kB
          Kristine Jetzke
        2. SOLR-8612.patch
          16 kB
          Kristine Jetzke
        3. SOLR-8612.patch
          16 kB
          Kristine Jetzke
        4. SOLR-8612.patch
          17 kB
          Kristine Jetzke
        5. SOLR-8612.patch
          17 kB
          Mikhail Khludnev

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment