Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-12477

Return server error(500) for AlreadyClosedException instead of client Errors(400)

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.5, 8.0
    • Component/s: update
    • Labels:

      Description

      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

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              varun Varun Thacker
              Reporter:
              yuanyun.cn jefferyyuan

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h
                1h

                  Issue deployment