[
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: [email protected]
For additional commands, e-mail: [email protected]