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

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

Commit 8d07c7321ce2a789291e139b26898500fc2b9cac in solr's branch 
refs/heads/branch_9x from David Smiley
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=8d07c7321ce ]

SOLR-17414: multiThreaded search: don't throw RejectedExecutionException (#2701)

When searching with multiThreaded=true, the internal tasks may now block 
instead of enqueuing with a risk of rejection. Solr will use less resources 
under stress but to get the most of your machine, you may want to increase the 
thread pool.
And:
* Revert ExecutorUtil change from SOLR-17298
* Revert ExecutorUtil change from SOLR-13350
* rename CoreContainer.collectorManager to indexSearcherExecutor

(cherry picked from commit 7405bb19fa424ec79c6daaafd986670dc54d7dfe)


> multiThreaded=true can result in RejectedExecutionException
> -----------------------------------------------------------
>
>                 Key: SOLR-17414
>                 URL: https://issues.apache.org/jira/browse/SOLR-17414
>             Project: Solr
>          Issue Type: Bug
>            Reporter: David Smiley
>            Assignee: David Smiley
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: build-out2.txt
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Since the new multiThreaded search feature landed, I see a new test
> failure involving "RejectedExecutionException" being thrown 
> [link|https://ge.apache.org/s/5ack462ji4mlu/tests/task/:solr:core:test/details/org.apache.solr.search.TestRealTimeGet/testStressGetRealtime?top-execution=1].
> It is thrown at a low level in Lucene building TermStates
> concurrently.  I doubt the problem is specific to that test
> (TestRealTimeGet) but that test might induce more activity than most
> tests, thus crossing some thresholds like the queue size -- apparently
> 1000.
> *I don't think we should be throwing a RejectedExecutionException
> when running a Search query*



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to