Uploaded image for project: 'Kite SDK (READ-ONLY)'
  1. Kite SDK (READ-ONLY)
  2. KITE-770

Improve resource cleanup for clients of SolrLocator

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.17.0
    • Fix Version/s: 0.17.1, 0.18.0
    • Component/s: Morphlines Module
    • Labels:
      None

      Description

      We should remove the immediate connect() call in SolrLocator.getSolrServer(). This way all clients of getSolrServer() can now avoid thread and resource leaks because they can still call SolrServer.shutdown() if connect() throws an exception.

        Attachments

          Activity

            People

            • Assignee:
              whoschek Wolfgang Hoschek
              Reporter:
              whoschek Wolfgang Hoschek
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: