You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2020/07/28 03:59:22 UTC

[lucene-solr] 01/01: @416 Fix replay executor.

This is an automated email from the ASF dual-hosted git repository.

markrmiller pushed a commit to branch reference_impl_dev
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git

commit 1aef83f4328d23755d12f07b4e27a1a04551c940
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Mon Jul 27 22:58:49 2020 -0500

    @416 Fix replay executor.
---
 solr/core/src/java/org/apache/solr/cloud/OverseerTaskProcessor.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/solr/core/src/java/org/apache/solr/cloud/OverseerTaskProcessor.java b/solr/core/src/java/org/apache/solr/cloud/OverseerTaskProcessor.java
index 915da7a..00db828 100644
--- a/solr/core/src/java/org/apache/solr/cloud/OverseerTaskProcessor.java
+++ b/solr/core/src/java/org/apache/solr/cloud/OverseerTaskProcessor.java
@@ -209,7 +209,7 @@ public class OverseerTaskProcessor implements Runnable, Closeable {
           if (heads.size() < MAX_BLOCKED_TASKS) {
             //instead of reading MAX_PARALLEL_TASKS items always, we should only fetch as much as we can execute
             int toFetch = Math.min(MAX_BLOCKED_TASKS - heads.size(), MAX_PARALLEL_TASKS - runningTasksSize());
-            List<QueueEvent> newTasks = workQueue.peekTopN(toFetch, excludedTasks, 10000);
+            List<QueueEvent> newTasks = workQueue.peekTopN(toFetch, excludedTasks, 2500);
             log.debug("Got {} tasks from work-queue : [{}]", newTasks.size(), newTasks);
             heads.addAll(newTasks);
           }