lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jefferyyuan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-12477) Return server error(500) for AlreadyClosedException instead of client Errors(400)
Date Sat, 28 Jul 2018 00:28:00 GMT

    [ https://issues.apache.org/jira/browse/SOLR-12477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16560517#comment-16560517
] 

jefferyyuan commented on SOLR-12477:
------------------------------------

thanks [~varunthacker]

Changed CoreContainer.checkTragicException(SolrCore) to return true when there was a tragic
exception.

Please check the pr: [https://github.com/apache/lucene-solr/pull/402/files]

Thanks.

> Return server error(500) for AlreadyClosedException instead of client Errors(400)
> ---------------------------------------------------------------------------------
>
>                 Key: SOLR-12477
>                 URL: https://issues.apache.org/jira/browse/SOLR-12477
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: update
>            Reporter: jefferyyuan
>            Assignee: Varun Thacker
>            Priority: Minor
>              Labels: update
>             Fix For: 7.3.2, master (8.0)
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> In some cases(for example: corrupt index), addDoc0 throws AlreadyClosedException,
but solr server returns client error 400 to client
> This will confuse customers and especially monitoring tool.
> Patch: [https://github.com/apache/lucene-solr/pull/402]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message