InterruptedExceptions should be handled appropriately
-----------------------------------------------------

                 Key: SOLR-339
                 URL: https://issues.apache.org/jira/browse/SOLR-339
             Project: Solr
          Issue Type: Improvement
          Components: search, update
    Affects Versions: 1.2, 1.3
            Reporter: Jonathan Woods
            Priority: Minor


At the moment, wherever InterruptedException is caught, it's merely logged.  In 
all cases, we should consider propagating the interruption instead - after all, 
InterruptedExceptions happen for a reason.  For a better explanation than I can 
manage of why it would be wise to consider propagation of some kind, see 
http://www-128.ibm.com/developerworks/java/library/j-jtp05236.html.

In solr 1.3 trunk as at 15th August, InterruptedException is handled in 
SolrCore, RunExecutableListener, DirectUpdateHandler and DirectUpdateHandler2.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to