You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Noble Paul (JIRA)" <ji...@apache.org> on 2018/01/31 20:32:01 UTC

[jira] [Issue Comment Deleted] (SOLR-11880) Avoid creating new exceptions for every request made via MDCAwareThreadPoolExecutor

     [ https://issues.apache.org/jira/browse/SOLR-11880?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Noble Paul updated SOLR-11880:
------------------------------
    Comment: was deleted

(was: Commit 0b0e8e5e7a67362c5757c1df4cee249ad193b51b in lucene-solr's branch refs/heads/master from [~noble.paul]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=0b0e8e5 ]

SOLR-11880: ref-guide
)

> Avoid creating new exceptions for every request made via MDCAwareThreadPoolExecutor
> -----------------------------------------------------------------------------------
>
>                 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: Noble Paul
>            Priority: Minor
>
> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org