Skip to content

Apache Lucene open-source search software

SOLR-13893: remove deprecated runtme.lib.size sys property

Munendra S N9de68117067b
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 45f1fcf77a2..d85cc9e859b 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -50,6 +50,9 @@ Other Changes
* SOLR-14322: AbstractFullDistribZkTestBase.waitForRecoveriesToFinish now takes a timeout and time unit instead of
assuming that we are passed value in seconds. (Mike Drob)
+* SOLR-13893: Remove support to read BlobRepository's max jar size from deprecated `runtme.lib.size` system property
+ (Erick Erickson, Kesharee Nandan Vishwakarma, Munendra S N)
+
================== 8.6.0 ==================
Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
diff --git a/solr/core/src/java/org/apache/solr/core/BlobRepository.java b/solr/core/src/java/org/apache/solr/core/BlobRepository.java
index 1d4628bee43..d2f57a9851e 100644
--- a/solr/core/src/java/org/apache/solr/core/BlobRepository.java
+++ b/solr/core/src/java/org/apache/solr/core/BlobRepository.java
@@ -61,12 +61,8 @@ import static org.apache.solr.common.cloud.ZkStateReader.BASE_URL_PROP;
*/
public class BlobRepository {
- @Deprecated
- private static final long OLD_MAX_JAR_SIZE = Long.parseLong(
- System.getProperty("runtme.lib.size", String.valueOf(5 * 1024 * 1024)));
-
private static final long MAX_JAR_SIZE = Long.parseLong(
- System.getProperty("runtime.lib.size", String.valueOf(OLD_MAX_JAR_SIZE)));
+ System.getProperty("runtime.lib.size", String.valueOf(5 * 1024 * 1024)));
private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
public static final Random RANDOM;
static final Pattern BLOB_KEY_PATTERN_CHECKER = Pattern.compile(".*/\\d+");