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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 7.5, 8.0
    • update

    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

        1. SOLR-12477.patch
          9 kB
          Varun Thacker

        Issue Links

          Activity

            People

              varun Varun Thacker
              yuanyun.cn jefferyyuan
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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