I noticed (as well as my colleague Vincent and with more detail and
root causing) that if Solr's CoreContainer has some issue starting up
for almost any reason, that it only logs an error (in
SolrDispatchFilter).  From Jetty’s perspective, startup has succeeded,
thus the server is running.  Seeing this in a test, it can seem to
hang.  Jetty is running but Solr rejects all requests.  Shouldn’t it
propagate the exception and fail startup?

https://github.com/apache/solr/blob/242e6c861b8fdf4ac75ed9e1b083f3c2f18f6c40/solr/core/src/java/org/apache/solr/servlet/SolrDispatchFilter.java#L163

I could be wrong but I thought this behavior happened newly since a
big refactor in SolrDispatchFilter by Gus a couple years ago.  Yet the
pertinent lines of code go way back to Mark in 2014 so who knows.

~ David Smiley
Apache Lucene/Solr Search Developer
http://www.linkedin.com/in/davidwsmiley

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@solr.apache.org
For additional commands, e-mail: dev-h...@solr.apache.org

Reply via email to