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

This commit is contained in:
Munendra S N 2020-03-28 11:59:30 +05:30
parent 1a2325a08f
commit 9de6811706
2 changed files with 4 additions and 5 deletions

View File

@ -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.

View File

@ -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+");