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

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.4, 8.0
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: