mirror of
https://github.com/apache/lucene.git
synced 2025-02-24 11:16:35 +00:00
SOLR-13893: fix typo in BlobRepository's max jar size sys property
* runtime.lib.size is the new property name
This commit is contained in:
parent
132228d450
commit
1a2325a08f
@ -111,6 +111,9 @@ Other Changes
|
||||
|
||||
* SOLR-13842: Remove redundant defaults from ImplicitPlugins.json (Munendra S N)
|
||||
|
||||
* SOLR-13893: BlobRepository reads max jar size from `runtime.lib.size` system property. Old `runtme.lib.size` is Deprecated
|
||||
(Erick Erickson, Kesharee Nandan Vishwakarma, Munendra S N)
|
||||
|
||||
================== 8.5.0 ==================
|
||||
|
||||
Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
|
||||
|
@ -60,7 +60,13 @@ import static org.apache.solr.common.cloud.ZkStateReader.BASE_URL_PROP;
|
||||
* The purpose of this class is to store the Jars loaded in memory and to keep only one copy of the Jar in a single node.
|
||||
*/
|
||||
public class BlobRepository {
|
||||
private static final long MAX_JAR_SIZE = Long.parseLong(System.getProperty("runtme.lib.size", String.valueOf(5 * 1024 * 1024)));
|
||||
|
||||
@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)));
|
||||
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+");
|
||||
|
Loading…
x
Reference in New Issue
Block a user