Skip to content

Commit 08b9247

Browse files
committed
Adjust soft-deletes version after backport into 6.5
Relates #33222
1 parent 00b272a commit 08b9247

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/org/elasticsearch/index/IndexSettings.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ public IndexSettings(final IndexMetaData indexMetaData, final Settings nodeSetti
416416
generationThresholdSize = scopedSettings.get(INDEX_TRANSLOG_GENERATION_THRESHOLD_SIZE_SETTING);
417417
mergeSchedulerConfig = new MergeSchedulerConfig(this);
418418
gcDeletesInMillis = scopedSettings.get(INDEX_GC_DELETES_SETTING).getMillis();
419-
softDeleteEnabled = version.onOrAfter(Version.V_7_0_0_alpha1) && scopedSettings.get(INDEX_SOFT_DELETES_SETTING);
419+
softDeleteEnabled = version.onOrAfter(Version.V_6_5_0) && scopedSettings.get(INDEX_SOFT_DELETES_SETTING);
420420
softDeleteRetentionOperations = scopedSettings.get(INDEX_SOFT_DELETES_RETENTION_OPERATIONS_SETTING);
421421
warmerEnabled = scopedSettings.get(INDEX_WARMER_ENABLED_SETTING);
422422
maxResultWindow = scopedSettings.get(MAX_RESULT_WINDOW_SETTING);

0 commit comments

Comments
 (0)