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

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            gus Gus Heck

            Dates

              Created:
              Updated:

              Slack

                Issue deployment