[ 
https://issues.apache.org/jira/browse/SOLR-11880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17081121#comment-17081121
 ] 

ASF subversion and git services commented on SOLR-11880:
--------------------------------------------------------

Commit f68c498e4fb891efbd598ea2007985334c731baf in lucene-solr's branch 
refs/heads/branch_8x from Shalin Shekhar Mangar
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=f68c498 ]

SOLR-14402: Avoid creating new exceptions for every request made to 
MDCAwareThreadPoolExecutor by distributed search.

 This is a fix for incomplete optimization made by SOLR-11880 in Solr 7.4 which 
fixed distributed updates but not distributed search.

(cherry picked from commit d52c1021e543b8cc2dd7b8d1d181e3dba160a760)


> Avoid creating new exceptions for every request made to 
> MDCAwareThreadPoolExecutor by distributed search and update operations
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-11880
>                 URL: https://issues.apache.org/jira/browse/SOLR-11880
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Varun Thacker
>            Assignee: Shalin Shekhar Mangar
>            Priority: Minor
>             Fix For: 7.4, 8.0
>
>         Attachments: SOLR-11880.patch
>
>
> MDCAwareThreadPoolExecutor has this line in it's{{{execute}} method
>  
> {code:java}
> final Exception submitterStackTrace = new Exception("Submitter stack 
> trace");{code}
> 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. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to