Pierre Salagnac created SOLR-17149:
--------------------------------------

             Summary: Cannot backup/restore large collection.
                 Key: SOLR-17149
                 URL: https://issues.apache.org/jira/browse/SOLR-17149
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
    Affects Versions: 9.4
            Reporter: Pierre Salagnac


 

There is a regression introduced in version 9.4 with SOLR-16879.

 

We cannot backup collections with more than 10 shards per node. The thread pool 
is rejecting new tasks with following error:
{noformat}
SolrException: Could not backup all shards

Task 
org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor$$Lambda... 
rejected from 
org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor[Running, 
pool size = 5, active threads = 5, queued tasks = 5, completed tasks = 30]"
{noformat}
{{expensiveExecutor}} thread pool executor is 
[created|https://github.com/apache/solr/blob/releases/solr/9.4.1/solr/solrj/src/java/org/apache/solr/common/util/ExecutorUtil.java#L170-L174]
 with 5 max threads and bounded queue of the same size (5), so the total number 
of tasks is limited to 10 and all the other tasks are immediately rejected.



--
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