Skip to content

Commit cc4a7a9

Browse files
authored
Default ENFORCE_DEFAULT_TIER_PREFERENCE to true (#79275)
1 parent 055c770 commit cc4a7a9

File tree

1 file changed

+1
-1
lines changed
  • server/src/main/java/org/elasticsearch/cluster/routing/allocation

1 file changed

+1
-1
lines changed

server/src/main/java/org/elasticsearch/cluster/routing/allocation/DataTier.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public class DataTier {
5050
// it will be removed as a breaking change in some future version, likely 9.0.
5151
public static final String ENFORCE_DEFAULT_TIER_PREFERENCE = "cluster.routing.allocation.enforce_default_tier_preference";
5252
public static final Setting<Boolean> ENFORCE_DEFAULT_TIER_PREFERENCE_SETTING =
53-
Setting.boolSetting(ENFORCE_DEFAULT_TIER_PREFERENCE, false, Property.Dynamic, Property.NodeScope);
53+
Setting.boolSetting(ENFORCE_DEFAULT_TIER_PREFERENCE, true, Property.Dynamic, Property.NodeScope);
5454

5555
public static final String TIER_PREFERENCE = "index.routing.allocation.include._tier_preference";
5656

0 commit comments

Comments
 (0)