Skip to content

Commit c5a775e

Browse files
Refactor writable warm feature flag to include tiering
Signed-off-by: Neetika Singhal <neetiks@amazon.com>
1 parent f217270 commit c5a775e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

server/src/main/java/org/opensearch/common/settings/FeatureFlagSettings.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ protected FeatureFlagSettings(
3434
FeatureFlags.IDENTITY_SETTING,
3535
FeatureFlags.TELEMETRY_SETTING,
3636
FeatureFlags.DATETIME_FORMATTER_CACHING_SETTING,
37-
FeatureFlags.WRITEABLE_REMOTE_INDEX_SETTING,
37+
FeatureFlags.TIERED_WRITEABLE_REMOTE_INDEX_SETTING,
3838
FeatureFlags.REMOTE_STORE_MIGRATION_EXPERIMENTAL_SETTING,
3939
FeatureFlags.PLUGGABLE_CACHE_SETTING
4040
);

server/src/main/java/org/opensearch/common/util/FeatureFlags.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ public class FeatureFlags {
5656
public static final String DATETIME_FORMATTER_CACHING = "opensearch.experimental.optimization.datetime_formatter_caching.enabled";
5757

5858
/**
59-
* Gates the functionality of writeable remote index
59+
* Gates the functionality of writeable remote index having the capability to move across different tiers
6060
* Once the feature is ready for release, this feature flag can be removed.
6161
*/
62-
public static final String WRITEABLE_REMOTE_INDEX = "opensearch.experimental.feature.writeable_remote_index.enabled";
62+
public static final String TIERED_WRITEABLE_REMOTE_INDEX = "opensearch.experimental.feature.tiered_writeable_remote_index.enabled";
6363

6464
/**
6565
* Gates the functionality of pluggable cache.
@@ -85,8 +85,8 @@ public class FeatureFlags {
8585
Property.NodeScope
8686
);
8787

88-
public static final Setting<Boolean> WRITEABLE_REMOTE_INDEX_SETTING = Setting.boolSetting(
89-
WRITEABLE_REMOTE_INDEX,
88+
public static final Setting<Boolean> TIERED_WRITEABLE_REMOTE_INDEX_SETTING = Setting.boolSetting(
89+
TIERED_WRITEABLE_REMOTE_INDEX,
9090
false,
9191
Property.NodeScope
9292
);
@@ -99,7 +99,7 @@ public class FeatureFlags {
9999
IDENTITY_SETTING,
100100
TELEMETRY_SETTING,
101101
DATETIME_FORMATTER_CACHING_SETTING,
102-
WRITEABLE_REMOTE_INDEX_SETTING,
102+
TIERED_WRITEABLE_REMOTE_INDEX_SETTING,
103103
PLUGGABLE_CACHE_SETTING
104104
);
105105
/**

0 commit comments

Comments
 (0)