|
@@ -896,7 +896,7 @@ public class ReplicationTracker extends AbstractIndexShardComponent implements L
|
|
|
this.routingTable = null;
|
|
|
this.replicationGroup = null;
|
|
|
this.hasAllPeerRecoveryRetentionLeases = indexSettings.isSoftDeleteEnabled() &&
|
|
|
- (indexSettings.getIndexVersionCreated().onOrAfter(Version.V_8_0_0) ||
|
|
|
+ (indexSettings.getIndexVersionCreated().onOrAfter(Version.V_7_6_0) ||
|
|
|
(indexSettings.getIndexVersionCreated().onOrAfter(Version.V_7_4_0) &&
|
|
|
indexSettings.getIndexMetaData().getState() == IndexMetaData.State.OPEN));
|
|
|
this.fileBasedRecoveryThreshold = IndexSettings.FILE_BASED_RECOVERY_THRESHOLD_SETTING.get(indexSettings.getSettings());
|