diff --git a/server/src/main/java/org/opensearch/cluster/routing/remote/RemoteRoutingTableService.java b/server/src/main/java/org/opensearch/cluster/routing/remote/RemoteRoutingTableService.java index 7778353a75047..7755fb5b74e4e 100644 --- a/server/src/main/java/org/opensearch/cluster/routing/remote/RemoteRoutingTableService.java +++ b/server/src/main/java/org/opensearch/cluster/routing/remote/RemoteRoutingTableService.java @@ -41,7 +41,7 @@ public class RemoteRoutingTableService implements Closeable { * Cluster setting to specify if routing table should be published to remote store */ public static final Setting REMOTE_ROUTING_TABLE_ENABLED_SETTING = Setting.boolSetting( - "cluster.remote_store.routing.enabled", + "cluster.remote_store.routing_table.enabled", false, Setting.Property.NodeScope, Setting.Property.Final diff --git a/server/src/main/java/org/opensearch/common/util/FeatureFlags.java b/server/src/main/java/org/opensearch/common/util/FeatureFlags.java index abee98470f925..acce722919d90 100644 --- a/server/src/main/java/org/opensearch/common/util/FeatureFlags.java +++ b/server/src/main/java/org/opensearch/common/util/FeatureFlags.java @@ -70,7 +70,7 @@ public class FeatureFlags { /** * Gates the functionality of remote routing table. */ - public static final String REMOTE_ROUTING_TABLE_EXPERIMENTAL = "opensearch.experimental.feature.remote_store.routing.enabled"; + public static final String REMOTE_ROUTING_TABLE_EXPERIMENTAL = "opensearch.experimental.feature.remote_store.routing_table.enabled"; public static final Setting REMOTE_STORE_MIGRATION_EXPERIMENTAL_SETTING = Setting.boolSetting( REMOTE_STORE_MIGRATION_EXPERIMENTAL,