You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Koji Sekiguchi (JIRA)" <ji...@apache.org> on 2009/02/11 01:07:59 UTC
[jira] Updated: (SOLR-1016) HTTP 503 error changes 500 in SolrCore
[ https://issues.apache.org/jira/browse/SOLR-1016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Koji Sekiguchi updated SOLR-1016:
---------------------------------
Attachment: SOLR-1016.patch
I'll commit the patch shortly.
> HTTP 503 error changes 500 in SolrCore
> --------------------------------------
>
> Key: SOLR-1016
> URL: https://issues.apache.org/jira/browse/SOLR-1016
> Project: Solr
> Issue Type: Bug
> Affects Versions: 1.3
> Reporter: Koji Sekiguchi
> Assignee: Koji Sekiguchi
> Priority: Trivial
> Fix For: 1.4
>
> Attachments: SOLR-1016.patch
>
>
> HTTP 503 error, e.g. exceeded limit of maxWarmingSearchers, is overwritten by the following code in SolrCore:
> {code:java|title=SolrCore.java}
> protected void setResponseHeaderValues(SolrRequestHandler handler, SolrQueryRequest req, SolrQueryResponse rsp) {
> // :
> responseHeader.add("status",rsp.getException()==null ? 0 : 500);
> responseHeader.add("QTime",qtime);
> rsp.getToLog().add("status",rsp.getException()==null ? 0 : 500);
> rsp.getToLog().add("QTime",qtime);
> {code}
> then logged 500, not 503:
> {noformat}
> SEVERE: org.apache.solr.common.SolrException: Error opening new searcher. exceeded limit of maxWarmingSearchers=2, try again later.
> :
> INFO: [] webapp=/solr path=/update params={} status=500 QTime=146
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.