Skip to content

Commit

Permalink
Adjust bwc for #48430
Browse files Browse the repository at this point in the history
Relates #48430
  • Loading branch information
dnhatn committed Dec 15, 2019
1 parent 0de7464 commit 34f8390
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,7 @@ public ReplicationTracker(
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());
Expand Down

0 comments on commit 34f8390

Please sign in to comment.