[ https://issues.apache.org/jira/browse/SOLR-14402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17080406#comment-17080406 ]
Shalin Shekhar Mangar commented on SOLR-14402: ---------------------------------------------- Here's a simple patch that sets enableSubmitterStackTrace to false while creating the executor inside HttpShardHandlerFactory's init method. It removes the executor that was initialized in the class attribute because it is overwritten in init anyway. The patch also fixes ZkControllerTest and OverseerTest which were using HttpShardHandlerFactory without calling init first. > Avoid creating new exceptions for every request made to > MDCAwareThreadPoolExecutor by distributed search > -------------------------------------------------------------------------------------------------------- > > Key: SOLR-14402 > URL: https://issues.apache.org/jira/browse/SOLR-14402 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: SolrCloud > Affects Versions: 7.4 > Reporter: Shalin Shekhar Mangar > Assignee: Shalin Shekhar Mangar > Priority: Minor > Attachments: SOLR-14402.patch > > > SOLR-11880 tried to do the same and it succeeded for update shard handler but > the implementation was wrong for http shard handler because the executor > created during construction is overwritten in the init() method. The commit > for SOLR-11880 is at https://github.com/apache/lucene-solr/commit/5a47ed4/ > Thanks [~caomanhdat] for spotting this. -- 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