Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-17149

Cannot backup/restore large collection.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 9.4
    • 9.5
    • None
    • None

    Description

       

      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:

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

      expensiveExecutor thread pool executor is created 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.

      Attachments

        Issue Links

          Activity

            People

              gerlowskija Jason Gerlowski
              pierre.salagnac Pierre Salagnac
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h