You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mike Drob (JIRA)" <ji...@apache.org> on 2016/05/24 13:41:12 UTC

[jira] [Updated] (SOLR-9155) Improve ZkController::getLeader exception handling

     [ https://issues.apache.org/jira/browse/SOLR-9155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Drob updated SOLR-9155:
----------------------------
    Attachment: SOLR-9155.patch

> 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
>         Attachments: SOLR-9155.patch
>
>
> {{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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org