Enable replication retries on 7.9+ (#59546)

Currently the work to support replication retries is present on 7.9.
This commit enables these retries by setting the replication timeout to
60s.
This commit is contained in:
Tim Brooks 2020-07-14 10:35:05 -06:00 committed by GitHub
parent ee4610c0ca
commit 1a24916fef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ public abstract class TransportReplicationAction<
* The timeout for retrying replication requests.
*/
public static final Setting<TimeValue> REPLICATION_RETRY_TIMEOUT =
Setting.timeSetting("indices.replication.retry_timeout", TimeValue.timeValueSeconds(0), Setting.Property.Dynamic,
Setting.timeSetting("indices.replication.retry_timeout", TimeValue.timeValueSeconds(60), Setting.Property.Dynamic,
Setting.Property.NodeScope);
/**