Github user dsmiley commented on a diff in the pull request:

    https://github.com/apache/lucene-solr/pull/422#discussion_r204410513
  
    --- Diff: 
solr/core/src/java/org/apache/solr/update/processor/TimeRoutedAliasUpdateProcessor.java
 ---
    @@ -230,6 +219,59 @@ public void processAdd(AddUpdateCommand cmd) throws 
IOException {
         }
       }
     
    +  /**
    +   * Create an executor that can only handle one task at a time. This is 
used to ensure that
    +   */
    +  private ThreadPoolExecutor singleThreadSingleTaskExecutor() {
    +    ThreadPoolExecutor threadPoolExecutor = new ThreadPoolExecutor(1, 1, 
1, TimeUnit.HOURS, new ArrayBlockingQueue<>(1));
    --- End diff --
    
    See `ExecutorUtil`; I think we are not allowed to create thread pools in 
Solr unless it's via those utils.


---

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

Reply via email to