SOLR-12067: Increase autoAddReplicas default 30 second wait time to 120 seconds

This commit is contained in:
Shalin Shekhar Mangar 2018-03-10 05:59:16 +05:30
parent 05d4a9320c
commit f0d46ead45
2 changed files with 8 additions and 2 deletions

View File

@ -88,6 +88,10 @@ Upgrade Notes
* SOLR-11957: The default Solr log file size and number of backups is raised to 32MB and 10 respectively
* SOLR-12067: The default value of `autoReplicaFailoverWaitAfterExpiration` has been increased to 120 seconds
from the earlier default of 30 seconds. This affects how soon Solr adds new replicas to replace the replicas
on nodes which have either crashed or shutdown.
New Features
----------------------
* SOLR-11285: Simulation framework for autoscaling. (ab)
@ -380,6 +384,9 @@ Other Changes
* SOLR-12051: Election timeout when no replicas are qualified to become leader (Cao Manh Dat)
* SOLR-12067: Increase autoAddReplicas default 30 second wait time to 120 seconds.
(Varun Thacker, Mark Miller via shalin)
================== 7.2.1 ==================
Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.

View File

@ -130,8 +130,7 @@ public class CloudConfig {
private static final int DEFAULT_CREATE_COLLECTION_ACTIVE_WAIT = 30; // 30 seconds
private static final boolean DEFAULT_CREATE_COLLECTION_CHECK_LEADER_ACTIVE = false;
// TODO: tune defaults
private static final int DEFAULT_AUTO_REPLICA_FAILOVER_WAIT_AFTER_EXPIRATION = 30000;
private static final int DEFAULT_AUTO_REPLICA_FAILOVER_WAIT_AFTER_EXPIRATION = 120000;
private String zkHost = System.getProperty("zkHost");
private int zkClientTimeout = Integer.getInteger("zkClientTimeout", DEFAULT_ZK_CLIENT_TIMEOUT);