SOLR-9848: Lower solr.cloud.wait-for-updates-with-stale-state-pause back down from 7 seconds.

This commit is contained in:
markrmiller 2017-02-22 09:54:48 -05:00
parent b28dc3fe34
commit eb9e3cba8d
2 changed files with 4 additions and 1 deletions

View File

@ -232,6 +232,9 @@ Other Changes
* SOLR-9842: UpdateRequestProcessors have no way to guarantee the closing of resources used for a request. * SOLR-9842: UpdateRequestProcessors have no way to guarantee the closing of resources used for a request.
(Mark Miller) (Mark Miller)
* SOLR-9848: Lower solr.cloud.wait-for-updates-with-stale-state-pause back down from 7 seconds.
(Mark Miller)
================== 6.4.2 ================== ================== 6.4.2 ==================
Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release. Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.

View File

@ -70,7 +70,7 @@ public class RecoveryStrategy extends Thread implements Closeable {
private static final Logger LOG = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass()); private static final Logger LOG = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
private static final int WAIT_FOR_UPDATES_WITH_STALE_STATE_PAUSE = Integer.getInteger("solr.cloud.wait-for-updates-with-stale-state-pause", 7000); private static final int WAIT_FOR_UPDATES_WITH_STALE_STATE_PAUSE = Integer.getInteger("solr.cloud.wait-for-updates-with-stale-state-pause", 2500);
private static final int MAX_RETRIES = 500; private static final int MAX_RETRIES = 500;
private static final int STARTING_RECOVERY_DELAY = 5000; private static final int STARTING_RECOVERY_DELAY = 5000;