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

Legacy update support doesn't log errors

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.3
    • Component/s: update
    • Labels:
      None

      Description

      If no handler is mapped to /update, and SolrUpdateServlet (which delegates to XmlUpdateRequestHandler.doLegacyUpdate) is used, any errors encountered (like stale lock files) are only returned to the client in the body of the XML response – they are not logged by Solr. Because the legacy XML response info always uses an HTTP status code of 200, there is nothing in any server side log (not even the servlet containers access log) to indicate a problem.

      simple fix: add some logging to the error case section of doLegacyUpdate.

        Attachments

          Activity

            People

            • Assignee:
              hossman Hoss Man
              Reporter:
              hossman Hoss Man
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: