[
https://issues.apache.org/jira/browse/SOLR-14755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17760279#comment-17760279
]
Jan Høydahl commented on SOLR-14755:
------------------------------------
[~atri] I had a look at the code around this. The CircuitBreaker class or sub
classes do not actually throw any exception at all. The location In
SearchHandler where we throw an exception, we set a standard SolrException with
code 503, on the response, which I believe is standard way in Solr for
triggering a HTTP 503 response to the client. So I propose Won't fix on this,
unless you have a particular reason for wanting a custom exception class to use
here?
> Dedicated Exception Type for Circuit Breakers
> ---------------------------------------------
>
> Key: SOLR-14755
> URL: https://issues.apache.org/jira/browse/SOLR-14755
> Project: Solr
> Issue Type: Improvement
> Components: Circuit Breakers
> Reporter: Atri Sharma
> Assignee: Jan Høydahl
> Priority: Major
>
> Circuit breakers should raise a dedicated exception when triggered. This Jira
> tracks the effort.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]