This is an automated email from the ASF dual-hosted git repository.
noble pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/branch_9x by this push:
new 62877c14078 SOLR-16569: Add java system property to overseer queue
size (#1205)
62877c14078 is described below
commit 62877c1407803bd36ba334377d483f5fb860305a
Author: Nick Ginther <[email protected]>
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 c5e6688aa3f..4a1e494d702 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -145,6 +145,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";