[
https://issues.apache.org/jira/browse/SOLR-9155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15379532#comment-15379532
]
Mike Drob commented on SOLR-9155:
---------------------------------
Can somebody take a look at this? I saw this happen on a live system and think
it would be good to improve the logging around it for my ops team.
> 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]