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

UpdateRequestProcessors have no way to guarantee the closing of resources used for a request.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.5, 7.0
    • Component/s: None
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      Description

      You cannot count on finish being called for an UpdateRequestProcessor because whether or not it's called in the face of errors is dependent on the other processors in the chain.

      We should make UpdateRequestProcessor closeable and implement this so that close is guaranteed to be called. I'm playing around with this in a patch for another issue.

        Attachments

          Activity

            People

            • Assignee:
              markrmiller@gmail.com Mark Miller
              Reporter:
              markrmiller@gmail.com Mark Miller
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: