Mike Drob created SOLR-9155:
-------------------------------

             Summary: Improve ZkController::getLeader exception handling
                 Key: SOLR-9155
                 URL: https://issues.apache.org/jira/browse/SOLR-9155
             Project: Solr
          Issue Type: Bug
          Components: SolrCloud
    Affects Versions: 6.0
            Reporter: Mike Drob


{{ZkController::getLeader}} does not handle InterruptedException, and instead 
rethrows it as a SolrException. There's a couple other improvements we could 
make around the exception handling as well:
* Not using exceptions for flow control
* Avoid log-and-rethrow
* The exception message could provide remedy steps



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

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

Reply via email to