Skip to content

Commit 551fafa

Browse files
Adjust shard limit applied version after backport (#71787)
After #71760 has been backported, we can adjust the version for when to apply the new shard limit.
1 parent 61d0459 commit 551fafa

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

x-pack/plugin/searchable-snapshots/src/main/java/org/elasticsearch/xpack/searchablesnapshots/action/TransportMountSearchableSnapshotAction.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,7 @@ private static Settings buildIndexSettings(
154154
.put(DiskThresholdDecider.SETTING_IGNORE_DISK_WATERMARKS.getKey(), true);
155155

156156
// we cannot apply this setting during rolling upgrade.
157-
// todo: update version after backport
158-
if (minNodeVersion.onOrAfter(Version.V_8_0_0)) {
157+
if (minNodeVersion.onOrAfter(Version.V_7_13_0)) {
159158
settings.put(ShardLimitValidator.INDEX_SETTING_SHARD_LIMIT_GROUP.getKey(), ShardLimitValidator.FROZEN_GROUP);
160159
}
161160
}

0 commit comments

Comments
 (0)