Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-11299 Time partitioned collections (umbrella issue)
  3. SOLR-12030

Exception Class to identify out of range docs vs other errors

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 8.0
    • None
    • SolrCloud
    • None

    Description

      I noticed in my writing of the stress test in SOLR-11949 that I had been forced to parse an exception message to identify the cases where the document was out of range (an expected condition) vs other solr errors. The attached patch supplies a custom exception class that can be explicitly checked for via traversing getCause() (or inspecting getThrowables() or getMetadata().get("root-error-class") )

      Attachments

        1. SOLR-12030.patch
          2 kB
          Gus Heck

        Activity

          People

            Unassigned Unassigned
            gus Gus Heck
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: