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

    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

        1. SOLR-11880.patch
          7 kB
          Shalin Shekhar Mangar

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: