Re: SolrException error code not being propagated to the HTTP response

2022-02-17 Thread Jan Høydahl
It is because the exception happens inside a constructor - so it gets mapped to a 500. I tried to move the parsing from constructor to init() and then we get a proper 400 error > HTTP ERROR 400 {metadata={error-class=org.apache.solr.common.SolrException, > root-error-class=org.apache.solr.comm

SolrException error code not being propagated to the HTTP response

2022-02-17 Thread Matthias Pigulla
Dear solr-dev, when I make a request to an URI like /solr/my_core/query?q=%C0, I get a HTTP 500 status code with a stack trace originating at org.apache.solr.common.SolrException: URLDecoder: Invalid character encoding detected after position 2 of query string / form data (while parsing as UTF-

Thoughts on this overseer issue: SOLR-16013

2022-02-17 Thread Joel Bernstein
I'm not sure others have noticed https://issues.apache.org/jira/browse/SOLR-16013. I wanted to get some more eyes on this issue. Basically what's happening is one ADDREPLICA command is creating two replicas. This happens in parallel tests that tear down the overseer leader in one test, while anoth