You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by no...@apache.org on 2022/12/09 01:40:31 UTC
[solr] branch main updated: SOLR-16569: Add java system property to overseer queue size (#1205)
This is an automated email from the ASF dual-hosted git repository.
noble pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/main by this push:
new 4885d67c82d SOLR-16569: Add java system property to overseer queue size (#1205)
4885d67c82d is described below
commit 4885d67c82d51ee83a7aa0b263bf05750e67f07e
Author: Nick Ginther <10...@users.noreply.github.com>
AuthorDate: Thu Dec 8 19:40:24 2022 -0600
SOLR-16569: Add java system property to overseer queue size (#1205)
---
solr/CHANGES.txt | 2 ++
solr/core/src/java/org/apache/solr/cloud/Overseer.java | 3 ++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 4fc745ab91a..d2947d492a2 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -170,6 +170,8 @@ Other Changes
* SOLR-16562: Upgrade to Caffeine 3.1.2 (Kevin Risden)
+* SOLR-16569: Add java system property to overseer queue size (Nick Ginther via noble)
+
================== 9.1.0 ==================
New Features
diff --git a/solr/core/src/java/org/apache/solr/cloud/Overseer.java b/solr/core/src/java/org/apache/solr/cloud/Overseer.java
index 28a644fb0e3..db633e315bc 100644
--- a/solr/core/src/java/org/apache/solr/cloud/Overseer.java
+++ b/solr/core/src/java/org/apache/solr/cloud/Overseer.java
@@ -152,7 +152,8 @@ public class Overseer implements SolrCloseable {
public static final int STATE_UPDATE_DELAY = ZkStateReader.STATE_UPDATE_DELAY;
public static final int STATE_UPDATE_BATCH_SIZE =
Integer.getInteger("solr.OverseerStateUpdateBatchSize", 10000);
- public static final int STATE_UPDATE_MAX_QUEUE = 20000;
+ public static final int STATE_UPDATE_MAX_QUEUE =
+ Integer.getInteger("solr.OverseerStateUpdateMaxQueueSize", 20000);
public static final int NUM_RESPONSES_TO_STORE = 10000;
public static final String OVERSEER_ELECT = "/overseer_elect";