lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Koji Sekiguchi (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (SOLR-1016) HTTP 503 error changes 500 in SolrCore
Date Wed, 11 Feb 2009 05:14:59 GMT

     [ https://issues.apache.org/jira/browse/SOLR-1016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Koji Sekiguchi resolved SOLR-1016.
----------------------------------

    Resolution: Fixed

Committed revision 743228.

> 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.


Mime
View raw message