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

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

Commit c4a41c4c6a368f4461f6d31cfa6647348a3f7666 in lucene-solr's branch 
refs/heads/branch_7x from [~shalinmangar]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=c4a41c4 ]

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

(cherry picked from commit 5a47ed4)


> 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
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Varun Thacker
>            Assignee: Shalin Shekhar Mangar
>            Priority: Minor
>         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
(v7.6.3#76005)

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

Reply via email to