You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2016/12/10 18:51:58 UTC

[jira] [Created] (SOLR-9842) UpdateRequestProcessors have no way to guarantee the closing of resources used for a request.

Mark Miller created SOLR-9842:
---------------------------------

             Summary: UpdateRequestProcessors have no way to guarantee the closing of resources used for a request.
                 Key: SOLR-9842
                 URL: https://issues.apache.org/jira/browse/SOLR-9842
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Mark Miller
            Assignee: Mark Miller


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org