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

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

    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

        1. SOLR-12477.patch
          9 kB
          Varun Thacker

          Issue Links

            Activity

              People

              • Assignee:
                varunthacker Varun Thacker
                Reporter:
                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