Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
RequestHandlerBase.java currently contains the following code added by SOLR-12477 ...
} catch (Exception e) { if (req.getCore() != null) { boolean isTragic = req.getCore().getCoreContainer().checkTragicException(req.getCore()); if (isTragic) { if (e instanceof SolrException) { // Tragic exceptions should always throw a server error assert ((SolrException) e).code() == 500; } else { // wrap it in a solr exception e = new SolrException(SolrException.ErrorCode.SERVER_ERROR, e.getMessage(), e); } } }
...however recent test failures have surfaced situations where this is evidnetly not true, and instead of the "original" error being returned to clients, the assertion fails, masking the "real" failure.
Attachments
Issue Links
- is broken by
-
SOLR-12477 Return server error(500) for AlreadyClosedException instead of client Errors(400)
- Closed
- relates to
-
SOLR-14179 BasicDistributedZkTest reproducible jenkins failure due to exceeding file handle limit
- Open