Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-6137

updateSearchIndexForType doesn't properly close connections

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Should
    • Resolution: Fixed
    • Core 2.6.0
    • Core 2.6.0, Core 2.5.10
    • None

    Description

      updateSearchIndexForType() opens a prepared statement which does not get properly closed. This means some connections from the connection pool are being held onto even though the consuming object has gone out of scope.

      Found this while profiling some tests...

      Gliffy Diagrams

        Attachments

          Activity

            People

              ibacher Ian Bacher
              ibacher Ian Bacher
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: