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

Avoid creating new exceptions for every request made to MDCAwareThreadPoolExecutor by distributed search and update operations

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 7.4, 8.0
    • None
    • None

    Description

      MDCAwareThreadPoolExecutor has this line in it's{execute method

       

      
      final Exception submitterStackTrace = new Exception("Submitter stack trace");

      This means that every call via the a thread pool will create this exception, and only when it sees an error will it be used.

      Attachments

        Activity

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

          People

            shalin Shalin Shekhar Mangar
            varun Varun Thacker
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment