Skip to content

Commit

Permalink
Refactor writable warm feature flag to include tiering
Browse files Browse the repository at this point in the history
Signed-off-by: Neetika Singhal <neetiks@amazon.com>
  • Loading branch information
neetikasinghal committed May 16, 2024
1 parent f217270 commit c5a775e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ protected FeatureFlagSettings(
FeatureFlags.IDENTITY_SETTING,
FeatureFlags.TELEMETRY_SETTING,
FeatureFlags.DATETIME_FORMATTER_CACHING_SETTING,
FeatureFlags.WRITEABLE_REMOTE_INDEX_SETTING,
FeatureFlags.TIERED_WRITEABLE_REMOTE_INDEX_SETTING,
FeatureFlags.REMOTE_STORE_MIGRATION_EXPERIMENTAL_SETTING,
FeatureFlags.PLUGGABLE_CACHE_SETTING
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ public class FeatureFlags {
public static final String DATETIME_FORMATTER_CACHING = "opensearch.experimental.optimization.datetime_formatter_caching.enabled";

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

/**
* Gates the functionality of pluggable cache.
Expand All @@ -85,8 +85,8 @@ public class FeatureFlags {
Property.NodeScope
);

public static final Setting<Boolean> WRITEABLE_REMOTE_INDEX_SETTING = Setting.boolSetting(
WRITEABLE_REMOTE_INDEX,
public static final Setting<Boolean> TIERED_WRITEABLE_REMOTE_INDEX_SETTING = Setting.boolSetting(
TIERED_WRITEABLE_REMOTE_INDEX,
false,
Property.NodeScope
);
Expand All @@ -99,7 +99,7 @@ public class FeatureFlags {
IDENTITY_SETTING,
TELEMETRY_SETTING,
DATETIME_FORMATTER_CACHING_SETTING,
WRITEABLE_REMOTE_INDEX_SETTING,
TIERED_WRITEABLE_REMOTE_INDEX_SETTING,
PLUGGABLE_CACHE_SETTING
);
/**
Expand Down

0 comments on commit c5a775e

Please sign in to comment.